forked from extern/django-helpdesk
Merge pull request #711 from OpenGeoLabs/fix_date_picker
set date picker format to yy-mm-dd
This commit is contained in:
commit
e9137cce73
@ -60,7 +60,7 @@ $(document).on('change', ':file', function() {
|
||||
|
||||
<script>
|
||||
$( function() {
|
||||
$( "#id_due_date" ).datepicker();
|
||||
$( "#id_due_date" ).datepicker({dateFormat: 'yy-mm-dd'});
|
||||
} );
|
||||
</script>
|
||||
|
||||
|
@ -40,7 +40,7 @@
|
||||
|
||||
<script>
|
||||
$( function() {
|
||||
$( "#id_due_date" ).datepicker();
|
||||
$( "#id_due_date" ).datepicker({dateFormat: 'yy-mm-dd'});
|
||||
} );
|
||||
</script>
|
||||
|
||||
|
@ -250,7 +250,7 @@ $(document).on('change', ':file', function() {
|
||||
|
||||
<script>
|
||||
$( function() {
|
||||
$( "#id_due_date" ).datepicker();
|
||||
$( "#id_due_date" ).datepicker({dateFormat: 'yy-mm-dd'});
|
||||
} );
|
||||
</script>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user