From d9f4d7378cc5f8f4de543f64ce7dd12aef4f9d94 Mon Sep 17 00:00:00 2001 From: MuQun Yang Date: Tue, 30 Apr 2002 13:25:44 -0500 Subject: [svn-r5295] Purpose: turn on daylight feature on windows Description: currently we have to hard code daylight feature of windows to make it pass mtime test. Solution: Platforms tested: linux 2.2.18 --- src/H5Omtime.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/H5Omtime.c b/src/H5Omtime.c index 5cd4ea6..19badfa 100644 --- a/src/H5Omtime.c +++ b/src/H5Omtime.c @@ -156,8 +156,8 @@ H5O_mtime_decode(H5F_t UNUSED *f, const uint8_t *p, tz = timebuffer.timezone; /* daylight is not handled properly. Currently we just hard-code the problem. */ - the_time -= tz*60; - /*the_time -= tz * 60 - 3600 * _daylight;*/ + /*the_time -= tz*60;*/ + the_time -= tz * 60 - 3600 * _daylight; } #else /* -- cgit v0.12