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

Fix issue in friendly_date_time() helper

Vijayakrishnan Krishnan преди 5 години
родител
ревизия
e9f0ea61f1
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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) {