プロジェクト

全般

プロフィール

Backport(バックポート) #485

Default timezone setting not used in the openpne:migrate task (openpne:migrate タスク実行中にデフォルトのタイムゾーン設定が使用されない)

Kousuke Ebihara約14年前に追加. 約14年前に更新.

ステータス:
Fixed(完了)
優先度:
Normal(通常)
担当者:
対象バージョン:
開始日:
2009-12-24
期日:
進捗率:

100%


説明

sfPearEnvironment calls date_default_timezone_set('UTC'); so php default timezone setting is ignored.

For example, if Doctrine's timestampable fileds (created_at and updated_at) is set in the openpne:migrate task, recorded time is force UTC timezone.

sfPearEnvironment で date_default_timezone_set('UTC'); が呼ばれているために、PHPのデフォルトタイムゾーン設定が無視されてしまっている。

例えば、Doctrine の Timestampable フィールド(created_at や updated_at)が openpne:migrate タスクの中で更新された場合、記録される時間が強制的に UTC の時間になってしまう。


関連するチケット

関連している OpenPNE 3 - Bug(バグ) #379: Default timezone setting not used in the openpne:migrate task (openpne:migrate タスク実行中にデフォルトのタイムゾーン設定が使用されない) Fixed(完了) 2009-12-24

関係しているリビジョン

リビジョン a02d6ffd (差分)
Rimpei Ogawa約14年前に追加

fixed timezone setting in the tasks using opPluginManager (fixes #485, BP from #379)

履歴

#1 Kousuke Ebihara約14年前に更新

  • ステータスNew(新規) から Accepted(着手) に変更
  • 担当者Kousuke Ebihara にセット

#2 Rimpei Ogawa約14年前に更新

  • ステータスAccepted(着手) から Pending Review(レビュー待ち) に変更
  • 進捗率0 から 50 に変更

更新履歴commit:"a02d6ffdb518185e4b3571c4f46b3055cfa29d19"で適用されました。

#3 Kousuke Ebihara約14年前に更新

  • ステータスPending Review(レビュー待ち) から Fixed(完了) に変更
  • 進捗率50 から 100 に変更

他の形式にエクスポート: Atom PDF