From: nick <nobody@nowhere.non>
Subject: Re: time-stamp problem
Date: Fri, 03 Dec 2004 18:10:40 GMT [thread overview]
Message-ID: <sgjmzwv6ytn.fsf@zenix.zk3.dec.com> (raw)
In-Reply-To: xCLrd.415792$%k.339358@pd7tw2no
Sebastian Luque <sluque@mun.ca> writes:
> Kevin Rodgers wrote:
>
>> ,----[ C-h v time-stamp-time-zone RET ]
>> | time-stamp-time-zone's value is nil
>> ...
>
> I forgot to mention that I did set this to my local timezone ("CST", Central
> Standard Time, -0600). FWIW, working with html-helper-mode, my html files get
> time-stamped correctly. So both time-stamp and html-helper-mode write the
> correct timezone string (CST), but time-stamp ignores the offset completely,
> so it's showing GMT time (i.e. local CST time + 0600). Very strange. What can
> be going on?
Does it help to set this variable to nil and to unset the TZ
environment variable?
It is probably the case that setting these to "CST" does not work
because there is no "CST" timezone defined on your system, so it punts
and uses UTC for the time. E.g. on my system, the timezone info directory
(/usr/share/zoneinfo - yours might be in a different place) does not
contain a CST file; on the other hand, it does have a CST6CDT file and
things seem to work if I set TZ to "CST6CDT". But I find it much more
convenient to forego explicit settings of environment variables: I
just make a symlink /etc/localtime to point to the correct timezone
file:
$ ls -l /etc/localtime
lrwxrwxrwx ... /etc/localtime -> /usr/share/zoneinfo/US/Eastern
and everything just works (as long as /usr is mounted).
--
nick (nicholas dot dokos at hp dot com)
next prev parent reply other threads:[~2004-12-03 18:10 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-12-02 16:57 time-stamp problem Sebastian Luque
2004-12-02 18:02 ` Kevin Rodgers
2004-12-02 21:16 ` Sebastian Luque
2004-12-03 18:10 ` nick [this message]
2004-12-04 0:41 ` Sebastian Luque
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=sgjmzwv6ytn.fsf@zenix.zk3.dec.com \
--to=nobody@nowhere.non \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).