[Koha-bugs] [Bug 23079] Checkouts page broken because of problems with date calculation (TZAmerica/Sao_Paulo)

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sat Jun 8 21:24:01 CEST 2019


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

Jonathan Druart <jonathan.druart at bugs.koha-community.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jonathan.druart at bugs.koha-c
                   |                            |ommunity.org
           Severity|normal                      |major

--- Comment #1 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
I have no idea how to provide a global and quick fix for this. It will be a big
problem for Brazilian libraries using Koha (are there?):

% perl -MDateTime -e "DateTime->new(year => 2019, month => 12, day => 3,
time_zone => 'America/Sao_Paulo')->subtract(days => 30);"
Invalid local time for date in time zone: America/Sao_Paulo

% perl -MDateTime -e "DateTime->new(year => 2019, month => 11, day => 3,
time_zone => 'America/Sao_Paulo');"
Invalid local time for date in time zone: America/Sao_Paulo

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


More information about the Koha-bugs mailing list