summaryrefslogtreecommitdiff
path: root/time/win32/time.c
diff options
context:
space:
mode:
Diffstat (limited to 'time/win32/time.c')
-rw-r--r--time/win32/time.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/time/win32/time.c b/time/win32/time.c
index 3121c43aa..178b2a48f 100644
--- a/time/win32/time.c
+++ b/time/win32/time.c
@@ -228,7 +228,7 @@ APR_DECLARE(apr_status_t) apr_time_exp_lt(apr_time_exp_t *result,
SystemTimeToAprExpTime(result, &st);
result->tm_usec = (apr_int32_t) (input % APR_USEC_PER_SEC);
- switch (get_local_timezone(&tz)) {
+ switch (GetTimeZoneInformation(&tz)) {
case TIME_ZONE_ID_UNKNOWN:
result->tm_isdst = 0;
/* Bias = UTC - local time in minutes