[Koha-bugs] [Bug 17699] DateTime durations are not correctly subtracted
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Aug 2 14:04:50 CEST 2017
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17699
--- Comment #28 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
Created attachment 65420
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=65420&action=edit
Bug 17699: Use limit as end_of_month
>From DateTime::Duration pod:
""
For positive durations, the "end_of_month" parameter defaults to wrap.
For negative durations, the default is "limit". This should match how
most people "intuitively" expect datetime math to work.
""""
We need end_of_month => limit for positive durations as well.
Signed-off-by: Owen Leonard <oleonard at myacpl.org>
Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list