Last active
August 29, 2015 14:07
-
-
Save keopx/7635c236e9e2ddde782a to your computer and use it in GitHub Desktop.
Views datepicker format correctly
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function publiviews_js_alter(&$js) { | |
$js['settings']['data'][] = array( | |
'better_exposed_filters' => array( | |
'datepicker_options' => array( | |
'dateformat' => 'dd-mm-yy', | |
))); | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment