aboutsummaryrefslogtreecommitdiff
path: root/views/default/input/month.php
blob: 4eaf910486126067ad9f31a241d723f7a93185a4 (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 elgg_format_attributes($vars); ?> />