From f32c4d1f73cbd660a87d9057b5f609194f2724ff Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sun, 4 Jan 2015 10:14:15 -0500 Subject: [PATCH] TW-1492 - TW-1492 compiling v2.4.0 using musl(libc) (thanks to V.Krishn). --- AUTHORS | 1 + ChangeLog | 1 + src/ISO8601.cpp | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/AUTHORS b/AUTHORS index 5f260506f..8d1a5b540 100644 --- a/AUTHORS +++ b/AUTHORS @@ -113,6 +113,7 @@ The following submitted code, packages or analysis, and deserve special thanks: Roman Inflianskas Ɓukasz Panek Tomas Babej + V.Krishn Thanks to the following, who submitted detailed bug reports and excellent suggestions: diff --git a/ChangeLog b/ChangeLog index 78fa157d4..cd4ca5fdb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,6 +2,7 @@ - TW-1486 task wait shows completed tasks which has a wait attribute (thanks to Sujeevan Vijayakumaran). +- TW-1492 compiling v2.4.0 using musl(libc) (thanks to V.Krishn). - Fixed assorted color theme problems. - Changed assorted reports so they do not use '.age' format for dates that are in the future, because those are never shown with this format (thanks to diff --git a/src/ISO8601.cpp b/src/ISO8601.cpp index 239d89d9c..1b97b4aef 100644 --- a/src/ISO8601.cpp +++ b/src/ISO8601.cpp @@ -702,7 +702,7 @@ void ISO8601d::resolve () t.tm_min = (seconds % 3600) / 60; t.tm_sec = seconds % 60; - _value = utc ? timegm (&t) : timelocal (&t); + _value = utc ? timegm (&t) : mktime (&t); } ////////////////////////////////////////////////////////////////////////////////