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