[Koha-bugs] [Bug 17699] DateTime durations are not correctly subtracted
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Jul 31 18:48:54 CEST 2017
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17699
--- Comment #14 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
Created attachment 65366
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=65366&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.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list