]> git.evergreen-ils.org Git - Evergreen.git/commit
LP#1485374: call tzset() after setting timezone
authorGalen Charlton <gmc@esilibrary.com>
Wed, 3 Feb 2016 22:50:58 +0000 (17:50 -0500)
committerKathy Lussier <klussier@masslnc.org>
Fri, 27 Jan 2017 19:45:50 +0000 (14:45 -0500)
commit8bedc56a8b9f2727360d1ca533ba5c149ef75999
tree26e34e4eaad7723d2a614577ec350837d5263506
parent4014d3d022d8aeb875584d03f7d8e9a45e452c60
LP#1485374: call tzset() after setting timezone

Testing shows this to be needed to make strftime()
return the time in the client's time zone.

This is a bit confusing, however, as strftime per
POSIX should be acting as if it always calls tzset()
when doing formatting that involves the local timezone.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Jason Stephenson <jason@sigio.com>
Signed-off-by: Kathy Lussier <klussier@masslnc.org>
Open-ILS/src/c-apps/oils_sql.c