[Koha-bugs] [Bug 28546] New: Framework default value special var for year in Manual
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Jun 10 16:06:53 CEST 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28546
Bug ID: 28546
Summary: Framework default value special var for year in Manual
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5 - low
Component: Documentation
Assignee: koha-bugs at lists.koha-community.org
Reporter: fridolin.somers at biblibre.com
QA Contact: testopia at bugs.koha-community.org
There is a mistake (or change) in framework default value special vars.
In manual :
There are several values that you can use here that will be replaced
automatically when a new record is created:
<<MM>> - the current month, 2 digits
<<DD>> - the current day of month, 2 digits
<<YEAR>> - the current year, 4 digits
<<USER>> - the username of the currently logged in user
For example: a default of "<<MM>>/<<DD>>/<<YEAR>>" (without quotes) will print
the current date in the form of "01/21/2021"
See
https://gitlab.com/koha-community/koha-manual/-/blob/master/source/administration.rst
But in Koha code in cataloguing/addbiblio.pl :
$value =~ s/<<YYYY>>/$year/g;
$value =~ s/<<YY>>/$shortyear/g;
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
More information about the Koha-bugs
mailing list