Feature: #92760 - Configurable timezone for DateViewHelper
See forge#92760
Description
A new option
timezone
has been added to the
Date
to render
a date with the provided time zone.
<f:format.date format="d.m.Y g:i a" date="1640995200" /><br>
<f:format.date format="d.m.Y g:i a" date="1640995200" timezone="America/Phoenix" /><br>
<f:format.date format="d.m.Y g:i a" date="1640995200" timezone="Indian/Mayotte" />
Copied!
will render:
01.01.2022 12:00 am
31.12.2021 5:00 pm
01.01.2022 3:00 am
Copied!
Impact
Using the new
timezone
option, it's now possible to set a specific
time zone for the the
Date
.