mirror of https://github.com/snachodog/mybuddy.git
Add YYYY-MM-DD support to frontend library
This commit is contained in:
parent
85ad08b30f
commit
69798ff490
|
@ -36,7 +36,8 @@
|
||||||
$('#datetimepicker_birth_date').datetimepicker({
|
$('#datetimepicker_birth_date').datetimepicker({
|
||||||
format: 'L',
|
format: 'L',
|
||||||
locale: '{{ LOCALE }}',
|
locale: '{{ LOCALE }}',
|
||||||
viewMode: 'years'
|
viewMode: 'years',
|
||||||
|
extraFormats: ['YYYY-MM-DD']
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
Loading…
Reference in New Issue