diff options
author | Simon Rettberg | 2021-02-05 16:27:24 +0100 |
---|---|---|
committer | Simon Rettberg | 2021-02-05 16:27:24 +0100 |
commit | c3de1f47eaf841ac7ca14261d048623803f1d321 (patch) | |
tree | f2b53d612bd99bf2655636c63a4e00ec6234cdd2 /modules-available/statistics/api.inc.php | |
parent | [statistics] Show ID45 live stats (diff) | |
download | slx-admin-c3de1f47eaf841ac7ca14261d048623803f1d321.tar.gz slx-admin-c3de1f47eaf841ac7ca14261d048623803f1d321.tar.xz slx-admin-c3de1f47eaf841ac7ca14261d048623803f1d321.zip |
[locationinfo] Fix conversion of time zone argument to DateTime
Now we properly always convert time zone strings to DateTimeZone
instances before passing them to the DateTime(Immutable) constructor
as the second argument. The timeZoneStringToDateTimeZone() was made
idempotent, to simplify code using it.
Diffstat (limited to 'modules-available/statistics/api.inc.php')
0 files changed, 0 insertions, 0 deletions