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