mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
Merge pull request #11 from JohnoKing/leap-seconds
Fix two more problems with time zones and epoch handling
This commit is contained in:
commit
5498d9ec25
2 changed files with 4 additions and 1 deletions
|
@ -189,6 +189,9 @@ static short sum[] = { 0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334, 36
|
|||
|
||||
static Tm_leap_t leap[] =
|
||||
{
|
||||
1483228826, 27, /* 2016-12-31+23:59:60-0000 */
|
||||
1435708825, 26, /* 2015-06-30+23:59:60-0000 */
|
||||
1341100824, 25, /* 2012-06-30+23:59:60-0000 */
|
||||
1230768023, 24, /* 2008-12-31+23:59:60-0000 */
|
||||
1136073622, 23, /* 2005-12-31+23:59:60-0000 */
|
||||
915148821, 22, /* 1998-12-31+23:59:60-0000 */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue