aboutsummaryrefslogtreecommitdiff
path: root/views/default/input/date.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/input/date.php')
-rw-r--r--views/default/input/date.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/views/default/input/date.php b/views/default/input/date.php
index 08195afcf..b347f835d 100644
--- a/views/default/input/date.php
+++ b/views/default/input/date.php
@@ -1,9 +1,10 @@
<?php
+$defaults = array(
+ 'placeholder' => 'yyyy-mm-dd',
+);
$overrides = array(
'type' => 'date',
);
-$args = array_merge($vars, $overrides);
-
-echo elgg_view('input/default', $args); \ No newline at end of file
+echo elgg_view('input/default', array_merge($defaults, $vars, $overrides)); \ No newline at end of file