summaryrefslogtreecommitdiff
path: root/time
diff options
context:
space:
mode:
Diffstat (limited to 'time')
-rw-r--r--time/unix/time.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/time/unix/time.c b/time/unix/time.c
index de74cfd27..8e6e448b2 100644
--- a/time/unix/time.c
+++ b/time/unix/time.c
@@ -356,7 +356,7 @@ APR_DECLARE(void) apr_unix_setup_time(void)
#else
t = *gmtime(&t1);
#endif
- t.tm_isdst = -1;
+ t.tm_isdst = 0; /* we know this GMT time isn't daylight-savings */
t2 = mktime(&t);
server_gmt_offset = (apr_int32_t) difftime(t1, t2);
#endif