diff options
author | ArthurHoaro <arthur@hoa.ro> | 2021-01-19 15:03:28 +0100 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2021-01-19 15:03:28 +0100 |
commit | dafd3f081ab581e074f3280d4323dc92cb33df46 (patch) | |
tree | 67e2f7c94242eface8f0528d0753bc336079f36a /application/TimeZone.php | |
parent | 6b76ce6f6285fd0b3565fc911f6469d21a132149 (diff) | |
download | Shaarli-dafd3f081ab581e074f3280d4323dc92cb33df46.tar.gz Shaarli-dafd3f081ab581e074f3280d4323dc92cb33df46.tar.zst Shaarli-dafd3f081ab581e074f3280d4323dc92cb33df46.zip |
format_date: include timezone in IntlDateFormatter object
@see https://www.php.net/manual/en/intldateformatter.format.php
> If a DateTime or an IntlCalendar object is passed, its timezone is not considered. The object will be formatted using the formaterʼs configured timezone. If one wants to use the timezone of the object to be formatted, IntlDateFormatter::setTimeZone() must be called before with the objectʼs timezone.
Diffstat (limited to 'application/TimeZone.php')
0 files changed, 0 insertions, 0 deletions