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

Chris Cormack <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #51906|0                           |1
        is obsolete|                            |

--- Comment #16 from Chris Cormack <[email protected]> ---
Created attachment 51968
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=51968&action=edit
Bug 16376 - Koha::Calendar->is_holiday date truncation creates fatal errors for
TZ America/Santiago

Using a DateTime object with a timezone of America/Santiago
was causing fatal errors for Koha::Calendar->is_holiday
and Koha::Calendar->exception_holidays, when the objects
were truncated to an invalid local time.

Using a floating zone allows us to use the same day, month, year
for comparison purposes without running into the possibility of
creating an invalid local time and thus a fatal software error.

Signed-off-by: Chris Cormack <[email protected]>

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
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