diff options
author | LRN <lrn1986@gmail.com> | 2014-01-08 14:14:47 +0000 |
---|---|---|
committer | LRN <lrn1986@gmail.com> | 2014-01-08 14:14:47 +0000 |
commit | 64ffb28af8a3d43dc23bca614f2538f5503f149e (patch) | |
tree | 809effaf1d16595ae925e13113991fc2425f6ed7 /src/util/strings.c | |
parent | 73bbb9dfcfaa75720f90d35f4f9e9bf731ea9bc5 (diff) | |
download | gnunet-64ffb28af8a3d43dc23bca614f2538f5503f149e.tar.gz gnunet-64ffb28af8a3d43dc23bca614f2538f5503f149e.zip |
Remove the W32 timezone hack to match r31771
Diffstat (limited to 'src/util/strings.c')
-rw-r--r-- | src/util/strings.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/src/util/strings.c b/src/util/strings.c index f526dd35a..c7eda9ad9 100644 --- a/src/util/strings.c +++ b/src/util/strings.c | |||
@@ -367,17 +367,6 @@ GNUNET_STRINGS_fancy_time_to_absolute (const char *fancy_time, | |||
367 | return GNUNET_SYSERR; | 367 | return GNUNET_SYSERR; |
368 | t = mktime (&tv); | 368 | t = mktime (&tv); |
369 | atime->abs_value_us = (uint64_t) ((uint64_t) t * 1000LL * 1000LL); | 369 | atime->abs_value_us = (uint64_t) ((uint64_t) t * 1000LL * 1000LL); |
370 | #if WINDOWS | ||
371 | { | ||
372 | DWORD tzv; | ||
373 | TIME_ZONE_INFORMATION tzi; | ||
374 | tzv = GetTimeZoneInformation (&tzi); | ||
375 | if (TIME_ZONE_ID_INVALID != tzv) | ||
376 | { | ||
377 | atime->abs_value_us -= 1000LL * 1000LL * tzi.Bias * 60LL; | ||
378 | } | ||
379 | } | ||
380 | #endif | ||
381 | return GNUNET_OK; | 370 | return GNUNET_OK; |
382 | } | 371 | } |
383 | 372 | ||