]> git.koha-community.org Git - koha.git/commit
Bug 24214: Fix due date formatting when sticky
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 11 Dec 2019 11:20:54 +0000 (12:20 +0100)
committerLucas Gass <lucas@bywatersolutions.com>
Thu, 13 Feb 2020 16:59:09 +0000 (16:59 +0000)
commit1904e1dfccb21c5f8de163090eb85d478c02a032
treeace08d8234d61a030e1eba6ce942daeafd39bb52
parent9052160d6016c98e94eb47c9f26902a0c1661764
Bug 24214: Fix due date formatting when sticky

When checking out and sticky due date is selected, on the next screen
the due date is displayed iso-formatted, instead of following the
dateformat syspref

Test plan:
0/ Do not apply the patch
1/ Check an item out, with a selected due date. Tick "Remember for
session"
2/ Next screen you see the date like YYYY-MM-DD HH:MM
regarless the value of the dateformat syspref
3/ Apply this patch
4/ Reload the page
=> The date is correctly formatted
5/ Check an item out
=> Due date is correctly set

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
(cherry picked from commit fa65f818237d4df56deca97bc764b998af7f9bd2)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt