From 7fef0ac8f72fb0a93da35190ba732121b0524eff Mon Sep 17 00:00:00 2001 From: ruan Date: Fri, 2 Sep 2016 06:23:14 +0200 Subject: [PATCH] Remove fallback --- inc/page.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/inc/page.php b/inc/page.php index 3f23e4d..4fd5839 100644 --- a/inc/page.php +++ b/inc/page.php @@ -298,12 +298,7 @@ class Page { */ function millis_to_date($millis) { $ts = $millis / 1000; - $result = strftime($this->settings->date_format, $ts); - if ($result === "" || !is_string($result)) { - // Fallback to date() if strftime() doesn't work - return date("F j, Y, g:i A", $ts); - } return $result; }