diff options
Diffstat (limited to 'program/include')
-rw-r--r-- | program/include/main.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/main.inc b/program/include/main.inc index d71a82ba5..66de2e5d8 100644 --- a/program/include/main.inc +++ b/program/include/main.inc @@ -1070,7 +1070,7 @@ function format_date($date, $format=NULL, $convert=true) date_default_timezone_set($tz->getName()); $date->setTimezone($tz); - $timestamp = $date->getTimestamp(); + $timestamp = $date->format('U'); // define date format depending on current time if (!$format) { |