http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12669

--- Comment #2 from Rolando Isidoro <[email protected]> ---
Hey Colin, following on your comment I tried to fix the problem on my own and I
think I narrowed it to 1 code entry:

$dt->set_time_zone( C4::Context->tz ); @
https://github.com/digibib/koha-work/blob/master/Koha/DateUtils.pm#L126

Since my knowledge regarding Koha's codebase is limited I now have doubts on
how to proceed, but I think it would be as simple as replacing that line for:

my $tz = $dateonly ? DateTime::TimeZone->new(name => 'floating') :
C4::Context->tz;
$dt->set_time_zone( $tz );

What's your take on this solution?

-- 
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