Add YYYY-MM-DD support to frontend library

This commit is contained in:
Christopher C. Wells 2020-01-23 20:33:36 -08:00
parent 85ad08b30f
commit 69798ff490
1 changed files with 2 additions and 1 deletions

View File

@ -36,7 +36,8 @@
$('#datetimepicker_birth_date').datetimepicker({
format: 'L',
locale: '{{ LOCALE }}',
viewMode: 'years'
viewMode: 'years',
extraFormats: ['YYYY-MM-DD']
});
});
</script>