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