jtsage / jtsage-datebox

A multi-mode date and time picker for Bootstrap (3&4), jQueryMobile, Foundation, Bulma, FomanticUI, and UIKit (or others)
http://datebox.jtsage.dev/
Other
474 stars 166 forks source link

Can't override header format #288

Closed dangvanthanh closed 10 years ago

dangvanthanh commented 11 years ago

I can't override header format when use datebox version 2. My code here:

<input name="date" id="date" type="date" data-role="datebox" data-options='{"mode": "calbox", "overrideDateFormat": "%Y年%m月‎%d日 (%a)", "overrideHeaderFormat": "%Y年%m月‎"}'>
jnyrup commented 10 years ago

You have to use overrideCalHeaderFormat instead of overrideHeaderFormat