From: Kevin Ryde <user42@zip.com.au>
Subject: srfi-19 default tz offset limit
Date: Fri, 28 Jan 2005 10:43:22 +1100 [thread overview]
Message-ID: <87fz0mqvz9.fsf@zip.com.au> (raw)
I added these words to srfi-19 conversions like time-utc->date. I
thought about actually implementing the advice given, but decided it
was too much work for what would be imperfect anyway.
For conversions to dates, TZ-OFFSET is seconds east of Greenwich.
The default is the local timezone, at the given time, as provided
by the system, using `localtime' (*note Time::).
On 32-bit systems, `localtime' is limited to a 32-bit `time_t', so
a default TZ-OFFSET is only available for times between Dec 1901
and Jan 2038. For prior dates an application might like to use
the value in 1902, though some locations have zone changes prior
to that. For future dates an application might like to assume
today's rules extend indefinitely. But for correct daylight
savings transitions it will be necessary to take an offset for the
same day and time but a year in range and which has the same
starting weekday and same leap/non-leap (to support rules like
last Sunday in October).
_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/guile-devel
reply other threads:[~2005-01-27 23:43 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87fz0mqvz9.fsf@zip.com.au \
--to=user42@zip.com.au \
/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).