On 30 May 2021 22:45:12 BST, Benjamin Morel <benjamin.mo...@gmail.com> wrote: >Hi internals, > >An issue <https://github.com/brick/date-time/issues/35> was brought up >on >my date-time library, that boils down to the fact that DateTimeZone >silently falls back to UTC when providing an offset with seconds: > >(new DatetimeZone('+01:45:30'))->getName(); // 00:00 > >https://3v4l.org/9ZrK6 > >If this is unsupported (this would make sense), should it throw an >exception instead? > >Thank you for your time. > >— Benjamin
I can't think of why this couldn't work. Duke a bug report please at bugs.php.net? -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: https://www.php.net/unsub.php