Ken 3 days ago
parent
commit
8a5342f5c6
2 changed files with 2 additions and 2 deletions
  1. 1 1
      app/Models/Backflow.php
  2. 1 1
      app/Models/Rebate.php

+ 1 - 1
app/Models/Backflow.php

@@ -26,7 +26,7 @@ class Backflow extends BaseModel
 
     protected function getGrantTimeAttribute($value): string
     {
-        if ($value > 0) return date('Y-m-d H:i', strtotime($value));
+        if ($value > 0) return date('Y-m-d H:i', $value);
         return "";
     }
 }

+ 1 - 1
app/Models/Rebate.php

@@ -66,7 +66,7 @@ class Rebate extends BaseModel
 
     protected function getGrantTimeAttribute($value): string
     {
-        if ($value > 0) return date('Y-m-d H:i', strtotime($value));
+        if ($value > 0) return date('Y-m-d H:i', $value);
         return "";
     }