diff options
author | MuQun Yang <ymuqun@hdfgroup.org> | 2002-01-08 18:03:52 (GMT) |
---|---|---|
committer | MuQun Yang <ymuqun@hdfgroup.org> | 2002-01-08 18:03:52 (GMT) |
commit | c1a595ec27cf8c3b3b53c2841b4dc30994eb6301 (patch) | |
tree | 5784916110c577c3c8b1f680db65154fc4d4c6a6 /src/H5Omtime.c | |
parent | 4fe68ccc12d18c946fc37fddc3c8372c545b5476 (diff) | |
download | hdf5-c1a595ec27cf8c3b3b53c2841b4dc30994eb6301.zip hdf5-c1a595ec27cf8c3b3b53c2841b4dc30994eb6301.tar.gz hdf5-c1a595ec27cf8c3b3b53c2841b4dc30994eb6301.tar.bz2 |
[svn-r4799]
Purpose:
a bug fix for windows time testing
Description:
daylight constant is not handled correctly on windows.
Hard code for the time being.
Solution:
Platforms tested:
windows 2000
Diffstat (limited to 'src/H5Omtime.c')
-rw-r--r-- | src/H5Omtime.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/H5Omtime.c b/src/H5Omtime.c index cf74eb1..ff62fc4 100644 --- a/src/H5Omtime.c +++ b/src/H5Omtime.c @@ -154,7 +154,10 @@ H5O_mtime_decode(H5F_t UNUSED *f, const uint8_t *p, tz = timebuffer.timezone; - the_time -=tz*60-3600*_daylight; + /*daylight is not handled properly. Currently we just hard-code the problem. */ + the_time -=tz*60; + + /*the_time -=tz*60-3600*_daylight;*/ } |