http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14194

--- Comment #1 from Jonathan Druart <jonathan.dru...@biblibre.com> ---
Created attachment 39134
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=39134&action=edit
Bug 14194: Restore the HH:MM to 23:59 for onsite-checkouts

(Introduced by bug 13601)

Test plan:
1/ Enable On-site checkouts
2/ Go on the checkouts page
3/ Click on the "On-site checkout" checkbox
=> The default date due should be today with 23:59 as HH:MM (not 00:00).

Technical note: There is a confusion with iso and sql date formats at
some places in the code.
A better way should be provided (later) to fix globally the mismatch
between these 2 formats.
What happened before this patch: the DateTime was cast to a string and
the template received "YYYY-MM-DDTHH:MM:SS" which is an iso formatted
date. BUT this format is not managed by Koha::DateUtils::output_pref
("iso" and "sql" are considered as indentical which is wrong).
As I did not estimated the problem (how big it is) I prefer to fix it
easily (and dirty) for now.

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
http://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