[Koha-bugs] [Bug 24674] Uncertain years for publicationyear/copyrightdate -- corrected

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Sep 20 16:19:48 CEST 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24674

--- Comment #17 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
(In reply to Katrin Fischer from comment #8)

> 1999- = 1999
> 1999-2009 = 1999
> 19xx (very common  here) = NULL

This observation seems to be incorrect. The code does this:

19xx = 1900
19--? = 1900
19-- = 19

The latter one is obviously wrong. (The suffix question mark should not be
mandatory in the regex.)

A problem that I could see with the Polish way of Janusz here is that 17-
should become 1700. But what if you would describe a year between 300 and 400?
3- or even 3-- would mean 3000 ?

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list