https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=39559 Marcel de Rooy <m.de.rooy@rijksmuseum.nl> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #180647|0 |1 is obsolete| | --- Comment #4 from Marcel de Rooy <m.de.rooy@rijksmuseum.nl> --- Created attachment 180811 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=180811&action=edit Bug 39559: YY is not interpreted as a default value for authorities Strings as YYYY, MM, DD put as part of default value for authorities are interpreted as year (four digits), month and day. YY is missing (two digits year). BTW, for bibliographic records it is <YYYY>, <YY>, <MM>, <DD> (in Koha/UI/Form/Builder/Biblio.pm). Test plan: ========== 1. Edit an authority framework of your choice (/cgi-bin/koha/admin/authtypes.pl), inserting a default value that contains YY for a known field. 2. Create a new authority record of the chosen type. Control the field for which a default value was defined. You should see YY. 3. Apply the patch ; restart_all. 4. Repeat p. 2. There should be a current year (two digits, like '25') in place of YY. Signed-off-by: esther <esther@bywatersolutions.com> Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> -- You are receiving this mail because: You are watching all bug changes.