dever 4 năm trước cách đây
mục cha
commit
09edfa9766
1 tập tin đã thay đổi với 4 bổ sung4 xóa
  1. 4 4
      src/Lib/Input.php

+ 4 - 4
src/Lib/Input.php

@@ -1152,7 +1152,7 @@ class Input
      *
      * @return string
      */
-    public static function _time($param, $type = true)
+    public static function _time($param, $type = false)
     {
         return self::_day($param, $type);
     }
@@ -1162,7 +1162,7 @@ class Input
      *
      * @return string
      */
-    public static function _day($param, $type = true)
+    public static function _day($param, $type = false)
     {
         return self::_date($param, $type, 'day', 'Y-m-d');
     }
@@ -1172,7 +1172,7 @@ class Input
      *
      * @return string
      */
-    public static function _year($param, $type = true)
+    public static function _year($param, $type = false)
     {
         return self::_date($param, $type, 'year', 'Y');
     }
@@ -1182,7 +1182,7 @@ class Input
      *
      * @return string
      */
-    public static function _month($param, $type = true)
+    public static function _month($param, $type = false)
     {
         return self::_date($param, $type, 'month', 'Y-m');
     }