Hi Stas:
> That's what I don't understand - so in the real code, what would be
> the use case where I'd want to use ST/DST? I.e., if I know the exact
> time, I could just use the timestamp or GMT time which doesn't have
> transitions.
Yeah, this stuff is very edge case. It is for use when one ne
Hi!
If you don't know it, don't pass it in! Then PHP will guess, just as it
does now and always has done. It's just an extra help in case you need
to be specific about whether you want the ST or DST variant of "02:30".
You can just use EDT/EST anyway, and that would work too (but of course
not
On Wed, 26 Oct 2011, Stas Malyshev wrote:
> > 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.
>
> Reading this RFC, I ha
Hi!
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.
Reading this RFC, I have some questions:
1. Would this ST/DST be used on format
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 triggerin
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: