LP#1485374: call tzset() after setting timezone
authorGalen Charlton <gmc@esilibrary.com>
Wed, 3 Feb 2016 22:50:58 +0000 (17:50 -0500)
committerJason Stephenson <jason@sigio.com>
Sun, 11 Sep 2016 14:12:26 +0000 (10:12 -0400)
commitd44bef742856f5c62729af002746b1cd4a2a1f4c
tree094c0674d3eb2832e8d4591cbaceb911e231a91e
parente03efb34cc5712e93cf7530c13bb006bd93f6044
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>
Open-ILS/src/c-apps/oils_sql.c