プロジェクト

全般

プロフィール

Bug(バグ) #379

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

Rimpei Ogawa14年以上前に追加. 約14年前に更新.

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

100%

3.6 で発生するか:
Unknown (未調査)
3.8 で発生するか:
Unknown (未調査)

説明

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 - Backport(バックポート) #485: Default timezone setting not used in the openpne:migrate task (openpne:migrate タスク実行中にデフォルトのタイムゾーン設定が使用されない) Fixed(完了) 2009-12-24

関係しているリビジョン

リビジョン 6af951ba (差分)
Rimpei Ogawa14年以上前に追加

fixed timezone setting in the tasks using opPluginManager (fixes #379)

履歴

#1 Rimpei Ogawa14年以上前に更新

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

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

#2 Rimpei Ogawa14年以上前に更新

  • 対象バージョンOpenPNE 3.3.2 にセット

#3 Kousuke Ebihara約14年前に更新

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

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