aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/front/controller/visitor
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2021-01-19 15:03:28 +0100
committerArthurHoaro <arthur@hoa.ro>2021-01-19 15:03:28 +0100
commitdafd3f081ab581e074f3280d4323dc92cb33df46 (patch)
tree67e2f7c94242eface8f0528d0753bc336079f36a /tests/front/controller/visitor
parent6b76ce6f6285fd0b3565fc911f6469d21a132149 (diff)
downloadShaarli-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 'tests/front/controller/visitor')
0 files changed, 0 insertions, 0 deletions