LP#1485374: call tzset() after setting timezone
authorGalen Charlton <gmc@esilibrary.com>
Wed, 3 Feb 2016 22:50:58 +0000 (17:50 -0500)
committerMike Rylander <mrylander@gmail.com>
Thu, 18 Aug 2016 13:59:21 +0000 (09:59 -0400)
commit7e6681cad926a0582c4bf91cce1413b0d4b8d3a5
tree20922351e8c6c8d34fc059b4049d59f022cb85c7
parent09ec718caea2bceab03a6995808e837b6a59f817
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