Merge pull request #711 from OpenGeoLabs/fix_date_picker

set date picker format to yy-mm-dd
This commit is contained in:
Garret Wassermann 2019-02-04 11:18:50 -05:00 committed by GitHub
commit e9137cce73
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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>