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

Marcel de Rooy <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #180647|0                           |1
        is obsolete|                            |

--- Comment #4 from Marcel de Rooy <[email protected]> ---
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 <[email protected]>

Signed-off-by: Marcel de Rooy <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to