aboutsummaryrefslogtreecommitdiff
path: root/views/default/input/datetime.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/input/datetime.php')
-rw-r--r--views/default/input/datetime.php12
1 files changed, 2 insertions, 10 deletions
diff --git a/views/default/input/datetime.php b/views/default/input/datetime.php
index 7eecb62e8..eaa32634e 100644
--- a/views/default/input/datetime.php
+++ b/views/default/input/datetime.php
@@ -1,14 +1,6 @@
<?php
-$defaults = array(
- 'placeholder' => elgg_echo('placeholder:datetime'), //'yyyy-mm-ddThh:mm:ss+hh:mm',
-);
-
-$overrides = array(
- 'type' => 'datetime',
-);
-
if (isset($vars['value']) && is_int($vars['value'])) {
$vars['value'] = date("c", $vars['value']);
}
-
-echo elgg_view('html/input', array_merge($defaults, $vars, $overrides)); \ No newline at end of file
+?>
+<input type="datetime" <?php echo html5_get_html_attributes($vars); ?> />