エントリーの編集
エントリーの編集は全ユーザーに共通の機能です。
必ずガイドラインを一読の上ご利用ください。
PHP :: Bug #68503 :: date_diff on two dates with timezone set localised returns wrong results
記事へのコメント0件
- 注目コメント
- 新着コメント
このエントリーにコメントしてみましょう。
注目コメント算出アルゴリズムの一部にLINEヤフー株式会社の「建設的コメント順位付けモデルAPI」を使用しています
- バナー広告なし
- ミュート機能あり
- ダークモード搭載
関連記事
PHP :: Bug #68503 :: date_diff on two dates with timezone set localised returns wrong results
Date/time related Bug Reported by chris@... Wed, 26 Nov 2014 10:36:09 +0000 PHP: 5.6.3, OS: Ubunt... Date/time related Bug Reported by chris@... Wed, 26 Nov 2014 10:36:09 +0000 PHP: 5.6.3, OS: Ubuntu Trusty Description: ------------ When using date_diff in a localised time zone and the date_diff will traverse a daylight saving boundary, the number of days returned is 1 fewer than expected. This is understandable given the missing hour. However, it doesn't then set the "h" value to 23, which would