diff options
author | MuQun Yang <ymuqun@hdfgroup.org> | 2001-06-12 16:22:07 (GMT) |
---|---|---|
committer | MuQun Yang <ymuqun@hdfgroup.org> | 2001-06-12 16:22:07 (GMT) |
commit | 188bf1d56b4511012c42be107f15714c584be7bc (patch) | |
tree | 7b4c0798714409f26a7d409cac9c98b22099cd5e | |
parent | 247a7e49a263e34d94459769449bfc57ac1a58a1 (diff) | |
download | hdf5-188bf1d56b4511012c42be107f15714c584be7bc.zip hdf5-188bf1d56b4511012c42be107f15714c584be7bc.tar.gz hdf5-188bf1d56b4511012c42be107f15714c584be7bc.tar.bz2 |
[svn-r3996]
Purpose:
a bug fix on windows platform
Description:
forget considering daylight saving time
Solution:
using daylight constant in windows
Platforms tested:
windows 2000
-rw-r--r-- | src/H5Omtime.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/H5Omtime.c b/src/H5Omtime.c index 7c1db36..12b5049 100644 --- a/src/H5Omtime.c +++ b/src/H5Omtime.c @@ -1,6 +1,6 @@ /* - * Copyright (C) 1998 NCSA - * All rights reserved. + * Copyright (C) 1998-2001 NCSA + * All rights reserved. * * Programmer: Robb Matzke <matzke@llnl.gov> * Friday, July 24, 1998 @@ -154,7 +154,7 @@ H5O_mtime_decode(H5F_t UNUSED *f, const uint8_t *p, tz = timebuffer.timezone; - the_time -=tz*60; + the_time -=tz*60-3600*_daylight; } |