[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-janitors] #287: seconds->utc-time doesn't zero out its timezone
From: |
Chicken Trac |
Subject: |
[Chicken-janitors] #287: seconds->utc-time doesn't zero out its timezone |
Date: |
Mon, 19 Jul 2010 17:29:22 -0000 |
#287: seconds->utc-time doesn't zero out its timezone
----------------------------+-----------------------------------------------
Reporter: zbigniew | Owner:
Type: enhancement | Status: new
Priority: minor | Milestone: 4.6.0
Component: core libraries | Version: 4.5.x
Keywords: |
----------------------------+-----------------------------------------------
In C_decode_seconds, on platforms that do not consult tm_gmtoff (currently
everything other than OS X), the local timezone offset is always reported
in the 10-element time vector. It should report the offset from UTC (0).
The attached patch does that.
This change preserves the "UTC-ness" of the time object so that, if a user
accepts 10-element time values in his own eggs, he can know the actual
timezone offset without external help. I'd like to use this fixed
behavior in a egg I am working on.
I think syn is having a somewhat related issue with DST, which we will
tackle in another ticket.
--
Ticket URL: <http://www.irp.oist.jp/trac/chicken/ticket/287>
Chicken Scheme <http://www.call-with-current-continuation.org/>
Chicken Scheme is a compiler for the Scheme programming language.
- [Chicken-janitors] #287: seconds->utc-time doesn't zero out its timezone,
Chicken Trac <=
- [Chicken-janitors] Re: #287: seconds->utc-time doesn't zero out its timezone, Chicken Trac, 2010/07/19
- [Chicken-janitors] Re: #287: seconds->utc-time doesn't zero out its timezone, Chicken Trac, 2010/07/19
- [Chicken-janitors] Re: #287: timezone fixes (was: seconds->utc-time doesn't zero out its timezone), Chicken Trac, 2010/07/19
- [Chicken-janitors] Re: #287: timezone fixes, Chicken Trac, 2010/07/19
- [Chicken-janitors] Re: #287: timezone fixes, Chicken Trac, 2010/07/19
- [Chicken-janitors] Re: #287: timezone fixes, Chicken Trac, 2010/07/26