Owen Clarke 7c90d1e8cc Bug - Default TZ not always UTC.
From Owen:

I tried mktime on Darwin an Linux; looks like they both default to UTC if the TZ
environment variable is unset but on Solaris it defaults to the local timezone.
I compiled and ran the tests and checked the behaviour by running:

date
TZ="" date
TZ="UTC" date

On Solaris the first two are in local time and the third is in UTC.
On Darwin and Linux the first one is in local time and the other two are in UTC.

Found this as a reference, too, which mentions the suggested implementation in
'man 3 timegm':

http://stackoverflow.com/questions/6467844/is-c-mktime-different-on-windows-and-gnu-linux

Signed-off-by: Paul Beckingham <paul@beckingham.net>
2012-01-05 18:08:24 -05:00
2012-01-02 23:32:10 -05:00
2011-08-09 22:46:41 -04:00
2012-01-02 23:32:10 -05:00
2012-01-02 23:32:10 -05:00
2012-01-05 18:08:24 -05:00
2012-01-05 17:37:50 -05:00
2011-04-23 16:41:37 -04:00
2011-12-31 11:39:50 -05:00
2012-01-05 18:08:24 -05:00
2011-09-14 01:10:52 +02:00
2011-05-28 00:02:04 -04:00
2012-01-02 23:32:10 -05:00
2011-12-31 10:12:50 -05:00
2011-12-18 12:37:09 -05:00
2012-01-02 23:32:10 -05:00
2012-01-02 22:33:25 -05:00
2012-01-02 23:32:10 -05:00
2011-10-08 00:09:34 +02:00

Thank you for taking a look at taskwarrior!

Taskwarrior is a GTD, todo list, task management, command line utility with a
multitude of features.  It is a portable, well supported, very active project,
and it is Open Source.  Taskwarrior has binary distributions, online
documentation, demonstration movies, and you'll find all the details at:

    http://taskwarrior.org

At the site you'll find a wiki, discussion forums, downloads, news and more.

Your contributions are especially welcome.  Whether it comes in the form of
code patches, ideas, discussion, bug reports, encouragement or criticism, your
input is needed.

Please send your support questions and code patches to:

    support@taskwarrior.org

Consider joining taskwarrior.org and participating in the future of taskwarrior.

---

taskwarrior is released under the MIT license. For details check the LICENSE
file.
Description
No description provided
Readme MIT 40 MiB
2.6-dev Latest
2026-01-28 20:05:37 +01:00
Languages
C++ 62.8%
Python 33.3%
Shell 2.2%
CMake 0.8%
Vim Script 0.5%
Other 0.4%