Explorar o código

fixed date format on the helper

Josh %!s(int64=4) %!d(string=hai) anos
pai
achega
a17d7377f2
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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) {