[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 19:07:24 CEST 2017


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17699

--- Comment #18 from Owen Leonard <oleonard at myacpl.org> ---
Created attachment 65371
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=65371&action=edit
[SIGNED-OFF] 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>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list