Test /
FtimeLocale
Locales
(:Fmt:fmt="%A %d %B":)
* No locale: {(ftime {*$:Fmt})} %item green%
* French: {(ftime {*$:Fmt} locale=fr_FR.UTF-8)}
* Bulgarian: {(ftime {*$:Fmt} locale=bg_BG.UTF-8)}
* Russian: {(ftime {*$:Fmt} locale=ru_RU.UTF-8)}
* No locale: {(ftime {*$:Fmt})} %item green%
* Greek: {(ftime {*$:Fmt} locale=el_GR.utf8)}
* Armenian {(ftime {*$:Fmt} locale=hy_AM.utf8)}
* Japanese {(ftime {*$:Fmt} locale=ja_JP.utf8)}
* Chinese {(ftime {*$:Fmt} locale=zh_CN.utf8)}
* No locale: {(ftime {*$:Fmt})} %item green%
|
|
Locale is set for the function call only, then reverted to the previously active locale.
Timezones
* No timezone (server default): {(ftime fmt="%b '''%d, %H:%M'''")} %item green%
* Pm's timezone: {(ftime fmt="%b '''%d, %H:%M'''" tz=America/Chicago)}
* Petko's timezone: {(ftime fmt="%b '''%d, %H:%M'''" tz=Europe/Sofia)}
* No timezone (server default): {(ftime fmt="%b '''%d, %H:%M'''")} %item green%
* Dfaure's timezone: {(ftime fmt="%b '''%d, %H:%M'''" tz=Europe/Paris)}
* Simon's timezone: {(ftime fmt="%b '''%d, %H:%M'''" tz=Pacific/Auckland)}
Not in 1-hour step from UTC:
* India: {(ftime fmt="%b '''%d, %H:%M'''" tz=Asia/Calcutta)}
* Australia: {(ftime fmt="%b '''%d, %H:%M'''" tz=Australia/Darwin)}
* Chatham islands {(ftime fmt="%b '''%d, %H:%M'''" tz=Pacific/Chatham)}
* No timezone (server default): {(ftime fmt="%b '''%d, %H:%M'''")} %item green%
|
Not in 1-hour step from UTC:
|
Timezone is set for the function call only, then reverted to the previously active timezone.