fix date picker format

This commit is contained in:
Jachym Cepicky 2019-02-04 17:00:16 +01:00
parent 5f59e9a5a7
commit d4dc1c9abe
3 changed files with 3 additions and 3 deletions

View File

@ -60,7 +60,7 @@ $(document).on('change', ':file', function() {
<script>
$( function() {
$( "#id_due_date" ).datepicker();
$( "#id_due_date" ).datepicker({dateFormat: 'yy-mm-dd'});
} );
</script>

View File

@ -40,7 +40,7 @@
<script>
$( function() {
$( "#id_due_date" ).datepicker();
$( "#id_due_date" ).datepicker({dateFormat: 'yy-mm-dd'});
} );
</script>

View File

@ -250,7 +250,7 @@ $(document).on('change', ':file', function() {
<script>
$( function() {
$( "#id_due_date" ).datepicker();
$( "#id_due_date" ).datepicker({dateFormat: 'yy-mm-dd'});
} );
</script>