jasny/twig-extensions

Add Time Zone Support

オープン

#10 opened on 2017/02/22

 (1 件のコメント) (0 件のリアクション) (0 人の担当者)PHP (19 件のフォーク)github user discovery
help wanted

Repository metrics

Stars
 (106 個のスター)
PR merge metrics
 (30d に merged PR はありません)

説明

For localdatetime and localtime, it would be beneficial to be able to pass in an arbitrary time zone. Setting the time zone globally using date_default_timezone_set won't work, because this affects all date processing globally in PHP. The time zone only needs to be applied when using localdatetime and localtime. Thank you.

コントリビューターガイド