Closed davidcoutadeur closed 5 months ago
The time format can be configured with $date_specifiers
: https://service-desk.readthedocs.io/en/stable/general-parameters.html#dates
So you can easily display the UTC information
We should indeed add a feature to change the time zone
Seems the date is already configured to display the timezone, but it is not working:
$date_specifiers = "%Y-%m-%d %H:%M:%S (%Z)"
<p>{$msg_unlockdate} {$unlockDate|date_format:{$date_specifiers}}</p>
Maybe a bug in smarty or a feature not available in our version
The date_specifiers was overloaded somewhere. Sorry for the noise.
I keep the issue opened for the new feature to display localized time, which could be interesting IMO.
Should be ok with #111
Currently, when an account is locked, we display the time stored in pwdAccountLockedTime. For example:
Self Service password displays:
We could have an option to display localized time: 25/11/2023 - 09:49:29