[darcs-devel] [issue1130] Local timezone must be set
Eric Kow
bugs at darcs.net
Tue Oct 7 09:35:35 UTC 2008
New submission from Eric Kow <kowey at darcs.net>:
It seems like if the TZ variable is not set in the environment, we get the
following dates output.
/var/tmp/portage/dev-util/darcs-2.0.2/work/darcs-2.0.2/tests-shell-hashed.dir/tmp_steve
Mon Oct 6 20:30:43 Local time zone must be set--see zic manual page 2008
steve
* Bnote
This was caught by our regression tests on Gentoo:
http://bugs.gentoo.org/show_bug.cgi?id=239368#c10
As I understand it, we are using the calenderTimeToString function to output
dates. It would be if somebody could cook up a little test to see what it
outputs when the local timezone is not set. Also, we could perhaps account for
this sort of situation by assuming UTC.
I'm marking this need-volunteer because it seems pretty clear what to do:
* verify that this comes straight from calendarTimeToString
* possibly write code to compensate
----------
messages: 6255
nosy: dagit, dmitry.kurochkin, jaredj, kowey, simon, thorkilnaur
priority: bug
status: need-volunteer
title: Local timezone must be set
topic: ProbablyEasy, UI
__________________________________
Darcs bug tracker <bugs at darcs.net>
<http://bugs.darcs.net/issue1130>
__________________________________
More information about the darcs-devel
mailing list