aboutsummaryrefslogtreecommitdiffstats
path: root/include/functions.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'include/functions.inc.php')
-rw-r--r--include/functions.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/functions.inc.php b/include/functions.inc.php
index 9b4678f65..07bcb03b7 100644
--- a/include/functions.inc.php
+++ b/include/functions.inc.php
@@ -415,7 +415,7 @@ function format_date($date, $type = 'us', $show_time = false)
}
$formated_date = '';
// before 1970, Microsoft Windows can't mktime
- if ($year >= 1970 or substr(PHP_OS, 0, 3) != 'WIN')
+ if ($year >= 1970)
{
// we ask midday because Windows think it's prior to midnight with a
// zero and refuse to work