|
@@ -4,7 +4,7 @@
|
|
|
* format: [y]ymdd
|
|
|
* 4-characters until 2009-12-31, 5 afterwards
|
|
|
*
|
|
|
- * $Id: u_date_code.php,v 1.2 2006-12-03 23:20:08 marand Exp $
|
|
|
+ * $Id: u_date_code.php,v 1.3 2007-04-29 15:40:29 marand Exp $
|
|
|
*/
|
|
|
|
|
|
require_once('misc.php'); // needed for "iComparable" interface
|
|
@@ -75,6 +75,7 @@ class osinet_date_code implements iComparable
|
|
|
|
|
|
public function __construct($time = null)
|
|
|
{
|
|
|
+ date_default_timezone_set('Europe/Paris');
|
|
|
if (!$time)
|
|
|
$time = time();
|
|
|
$date = getdate();
|