Re: Local time zone
| From: | Derick Rethans | Date: | Tue, 20 Dec 2011 11:28:25 +0000 |
| Subject: | Re: Local time zone | ||
| References: | 1 2 3 4 5 6 7 8 9 10 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-56961@lists.php.net to get a copy of this message | ||
On Wed, 14 Dec 2011, Stas Malyshev wrote:
> > I believe he's referring to sys/time.h, but this introduces
> > portability issues. If it were just unix, that would be one thing.
> > But maintaining this and a Windows alternative, and I have no idea
> > what that is, is not worth it IMO.
>
> Yes, portability is questionable. Though if we had a good patch that
> allows to do it, I don't think it would be too bad to have it.
This can never be portable, because Windows doesn't even bother keeping
historical timezone rules. They only have: current normal UTC offset,
current DST offset and rules on when there is a transition between.
Derick