aboutsummaryrefslogtreecommitdiff
path: root/views/default/input/month.php
blob: 4bd3200462d2e1ce70b77996b62e3b0ada2ed944 (plain)
1
2
3
4
5
6
7
<?php
if (isset($vars['value']) && is_int($vars['value'])) {
	$vars['value'] = date("Y-m", $vars['value']);
}
?>

<input type="month" <?php echo html5_get_html_attributes($vars); ?> />