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