[Koha-devel] DateTime->now usage

Tomas Cohen Arazi tomascohen at gmail.com
Tue Apr 30 18:59:08 CEST 2019


Hi, on testnig bug 22453 [1] I noticed that we do the wrong thing in many
places, actually:

$ git grep 'DateTime\->new'

Do you agree we should be using dt_from_string instead? The consequences
are for those having the DB server and/or the plack server running on some
timezone and having koha-conf.xml point to another one.

[1] https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22453

-- 
Tomás Cohen Arazi
Theke Solutions (http://theke.io)
✆ +54 9351 3513384
GPG: B2F3C15F
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20190430/4abb363f/attachment.html>


More information about the Koha-devel mailing list