Browse Source

fixed date format on the helper

Josh 4 năm trước cách đây
mục cha
commit
a17d7377f2
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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) {