Use i18n meta infos.
This commit is contained in:
parent
2b0f786649
commit
db69830ffe
1 changed files with 4 additions and 3 deletions
|
@ -1509,15 +1509,16 @@ class InputsRef extends App.ControllerContent
|
||||||
# date picker
|
# date picker
|
||||||
@$('.js-datepicker3').datepicker(
|
@$('.js-datepicker3').datepicker(
|
||||||
todayHighlight: true
|
todayHighlight: true
|
||||||
startDate: new Date().toLocaleDateString('de-DE') # returns 25.09.2015
|
startDate: new Date()
|
||||||
format: 'dd.mm.yyyy',
|
format: App.i18n.timeFormat().date
|
||||||
container: @$('.js-datepicker3').parent()
|
container: @$('.js-datepicker3').parent()
|
||||||
)
|
)
|
||||||
|
|
||||||
# date time picker
|
# date time picker
|
||||||
@$('.js-datepicker4').datepicker(
|
@$('.js-datepicker4').datepicker(
|
||||||
todayHighlight: true
|
todayHighlight: true
|
||||||
startDate: new Date().toLocaleDateString('en-US') # returns 9/25/2015
|
startDate: new Date()
|
||||||
|
format: App.i18n.timeFormat().date
|
||||||
container: @$('.js-datepicker4').parent()
|
container: @$('.js-datepicker4').parent()
|
||||||
)
|
)
|
||||||
@$('.js-timepicker4').timepicker()
|
@$('.js-timepicker4').timepicker()
|
||||||
|
|
Loading…
Reference in a new issue