in reply to Re^3: DateTime Invalid local time for date in time zone
in thread DateTime Invalid local time for date in time zone
Alternatively, use the correct time zone (-0800 instead of America/Los_Angeles).
-0800 (PST) is only the correct time zone at 2016-03-13 01:59:59. One second later, the correct time zone is -0700 (PDT). Except of course whenever DST and time zones are changed by law.
Using location-based time zone names (America/Los_Angeles) eliminates this issue.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: DateTime Invalid local time for date in time zone
by ikegami (Patriarch) on Jul 11, 2018 at 20:32 UTC |