Преглед на файлове

fixed date format on the helper

Josh преди 4 години
родител
ревизия
a17d7377f2
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      app/Helpers/helpers.php

+ 1 - 1
app/Helpers/helpers.php

@@ -19,7 +19,7 @@ if(!function_exists('friendly_date_time')) {
         if(!$value || empty($value)) return $default;
         try {
             $result = strtotime($value);
-            $result = date("jS M o" . ($includeTime ? ", h:ia" : ""), $result);
+            $result = date("jS M Y" . ($includeTime ? ", h:ia" : ""), $result);
             return $result;
         }
         catch (Exception $e) {