![]() ![]() | ![]() |
1.1 misho 1: --TEST-- 2: Bug #36224 (date(DATE_ATOM) gives wrong resulsts) 3: --FILE-- 4: <?php 5: date_default_timezone_set("Europe/Oslo"); 6: 7: echo date(DATE_ATOM, strtotime('2006-01-31T19:23:56Z')) . "\n"; 8: echo date(DATE_ATOM, strtotime('2006-01-31T19:23:56')) . "\n"; 9: 10: ?> 11: --EXPECT-- 12: 2006-01-31T20:23:56+01:00 13: 2006-01-31T19:23:56+01:00