Explorar o código

Fix issue in friendly_date_time() helper

Vijayakrishnan Krishnan %!s(int64=5) %!d(string=hai) anos
pai
achega
e9f0ea61f1
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      app/Helpers/Helper.php

+ 1 - 1
app/Helpers/Helper.php

@@ -78,7 +78,7 @@ if(!function_exists('friendly_date_time')) {
         if(!$value || empty($value)) return "-";
         try {
             $result = strtotime($value);
-            $result = date("j M o, H:i");
+            $result = date("j M o, H:i", $result);
             return $result;
         }
         catch (Exception $e) {