2009-07-30 06:48 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
* source/common/hbdate.c
! Fixed typos in last modif.
This commit is contained in:
@@ -17,6 +17,10 @@
|
||||
past entries belonging to author(s): Viktor Szakats.
|
||||
*/
|
||||
|
||||
2009-07-30 06:48 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
|
||||
* source/common/hbdate.c
|
||||
! Fixed typos in last modif.
|
||||
|
||||
2009-07-30 06:35 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
|
||||
* source/common/hbdate.c
|
||||
! Fixed for some systems where tm->tm_gmtoff isn't available.
|
||||
|
||||
@@ -925,7 +925,7 @@ long hb_timeUTCOffset( void ) /* in seconds */
|
||||
# endif
|
||||
local = mktime( timeinfo );
|
||||
|
||||
return utc - local - ( timeinfo->tm_isdst ? 1 : 0 );
|
||||
return difftime( local, utc ) + ( timeinfo->tm_isdst ? 3600 : 0 );
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user