Re: DateTimeZone silently falls back to UTC when providing seconds
| From: | Derick Rethans | Date: | Sun, 30 May 2021 22:32:51 +0000 |
| Subject: | Re: DateTimeZone silently falls back to UTC when providing seconds | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-114672@lists.php.net to get a copy of this message | ||
On 30 May 2021 23:18:31 BST, Benjamin Morel <benjamin.morel@gmail.com> wrote:
>>
>> I can't think of why this couldn't work. Duke a bug report please at
>> bugs.php.net?
>
>
>Before doing so, shouldn't we discuss whether it makes sense to accept
>a
>time-zone offset with seconds, when the granularity seems to be 15
>mins?
>
>https://en.wikipedia.org/wiki/List_of_UTC_time_offsets
>
>— Benjamin
No need. Early timezone offsets in the timezone database are in LMT (local mean time), which have
second granularity.
cheers,
Derick