blob: 7652501765e2566d0f42d3daa913692b3867e5db (
plain)
1
2
3
4
5
6
7
8
9
|
--TEST--
Bug #37616 (DATE_RFC822 does not product RFC 822 dates)
--FILE--
<?php
date_default_timezone_set("Europe/Oslo");
var_dump(date(DATE_RFC822, strtotime("1 Jul 06 14:27:30 +0200")));
?>
--EXPECT--
string(29) "Sat, 01 Jul 06 14:27:30 +0200"
|