From: gebser@speakeasy.net
Subject: current-time-zone
Date: Fri, 19 Dec 2003 18:59:31 -0500 (EST) [thread overview]
Message-ID: <Pine.LNX.4.44.0312191852100.23118-100000@www> (raw)
Should "M-x current-time-zone" return something? Using emacs v.20.7.1
all get in the minibuffer is "[No match]". However, "C-h f
current-time-zone" shows:
<snip>
current-time-zone is a built-in function.
Return the offset and name for the local time zone.
This returns a list of the form (OFFSET NAME).
OFFSET is an integer number of seconds ahead of UTC (east of Greenwich).
A negative value means west of Greenwich.
NAME is a string giving the name of the time zone.
If an argument is given, it specifies when the time zone offset is
determined
instead of using the current time. The argument should have the form:
(HIGH . LOW)
or the form:
(HIGH LOW . IGNORED).
Thus, you can use times obtained from `current-time'
and from `file-attributes'.
Some operating systems cannot provide all this information to Emacs;
in this case, `current-time-zone' returns a list containing nil for
the data it can't find.
(current-time-zone &optional SPECIFIED-TIME)
</snip>
I'm thinking that, for some reason, this function isn't getting the info
it needs from the system... which is strange because I know that $TZ is
set. Bug? Workaround? What?
tnx,
ken
next reply other threads:[~2003-12-19 23:59 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-12-19 23:59 gebser [this message]
[not found] <mailman.396.1071882284.868.help-gnu-emacs@gnu.org>
2003-12-20 0:19 ` current-time-zone Jesper Harder
2003-12-22 19:12 ` current-time-zone Kevin Rodgers
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=Pine.LNX.4.44.0312191852100.23118-100000@www \
--to=gebser@speakeasy.net \
/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.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.