summaryrefslogtreecommitdiffstats
path: root/src/H5Omtime.c
diff options
context:
space:
mode:
authorMuQun Yang <ymuqun@hdfgroup.org>2002-04-30 18:25:44 (GMT)
committerMuQun Yang <ymuqun@hdfgroup.org>2002-04-30 18:25:44 (GMT)
commitd9f4d7378cc5f8f4de543f64ce7dd12aef4f9d94 (patch)
treeb73aa4149aa56398a649c12eaaa89df00e4e8618 /src/H5Omtime.c
parent2d2e785e2de2b4b427717095e8cfe0b35730c2ee (diff)
downloadhdf5-d9f4d7378cc5f8f4de543f64ce7dd12aef4f9d94.zip
hdf5-d9f4d7378cc5f8f4de543f64ce7dd12aef4f9d94.tar.gz
hdf5-d9f4d7378cc5f8f4de543f64ce7dd12aef4f9d94.tar.bz2
[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
Diffstat (limited to 'src/H5Omtime.c')
-rw-r--r--src/H5Omtime.c4
1 files 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
/*