LP#1485374: call tzset() after setting timezone
authorGalen Charlton <gmc@esilibrary.com>
Wed, 3 Feb 2016 22:50:58 +0000 (17:50 -0500)
committerGalen Charlton <gmc@esilibrary.com>
Tue, 23 Feb 2016 17:06:48 +0000 (12:06 -0500)
commitb6ee19828bca56e6dd70f8f11fb47f429701d598
tree5d3465f49ce9eb66c096e29e352ec977829d3cf2
parentd63fb2b41e4644cb259d9fb025d73313c4a74c52
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>
Open-ILS/src/c-apps/oils_sql.c