forked from extern/django-helpdesk
fix date picker format
This commit is contained in:
parent
5f59e9a5a7
commit
d4dc1c9abe
@ -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