Re: [VOTE] DateTime and Daylight Saving Time Transitions
| From: | Thomas Nunninger | Date: | Wed, 26 Oct 2011 08:43:36 +0000 |
| Subject: | Re: [VOTE] DateTime and Daylight Saving Time Transitions | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-55959@lists.php.net to get a copy of this message | ||
Hi,
sorry for late comment.
You write: "The ST or DST modifiers can only be used when specifying times
during the backward transition period. Using the modifiers at other times
will throw an exception in object-oriented style code while procedural style
code will return false without triggering errors."
In my opinion this makes code more difficult as I need to check if the time is
in the transition time. In my opinion it should be ok to add (D)ST all the
time when it is (D)ST - and I don't see that it should be wrong (but I don't
know enough about standard formats). Just ignore it internally if you don't
need that information.
Thomas
Am Dienstag, 25. Oktober 2011 17:06:38 schrieb Daniel Convissor:
> Hi Folks:
>
> Please take a moment to review the DateTime transitions RFC and vote on
> it. I encourage voting on it to ensure we are all on the same page as
> to how PHP will handle transitions. Voting is open through 10/31.
>
> Read:
> https://wiki.php.net/rfc/datetime_and_daylight_saving_time
> Vote:
> https://wiki.php.net/rfc/datetime_and_daylight_saving_time/vote
>
> Thanks,
>
> --Dan
>
> --
> T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y
> data intensive web and database programming
> http://www.AnalysisAndSolutions.com/
> 4015 7th Ave #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409