dever 3 éve
szülő
commit
45e34ebdb8
1 módosított fájl, 4 hozzáadás és 0 törlés
  1. 4 0
      src/Applet.php

+ 4 - 0
src/Applet.php

@@ -15,6 +15,10 @@ class Applet extends Base
         $uid = $this->check();
         $user = Dever::load('passport/user-one', $uid);
 
+        if ($user && $user['birthday']) {
+            $user['birthday'] = date('Y-m-d', $user['birthday']);
+        }
+
         return $user;
     }