You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For Chinese users, using language pack modified date format (month). In the input box format will
format will become bad treatment, should be shown as 2016-4-3 yyyy-mm-dd but the actual display is 2016- April-3. This process up a little bit of trouble. So, I do a small change .Make it more perfect. Please correct me
Expected behaviour
For Chinese users, using language pack modified date format (month). In the input box format will
format will become bad treatment, should be shown as 2016-4-3 yyyy-mm-dd but the actual display is 2016- April-3. This process up a little bit of trouble. So, I do a small change .Make it more perfect. Please correct me
Datepicker version used
ex.
1.6.1.
Example code
bootstrap-datetimepicker.js
666 .
var monthsSuffix = dates[this.language].monthsSuffix;
667 .
if(typeof(monthsSuffix)==='undefined'){
668 .
monthsSuffix = " ";
669 .
}
700 .
this.setTitle('.datetimepicker-days', dates[this.language].months[month] +
701 .
monthsSuffix + year)
bootstrap-datetimepicker.zh-CN.js
10 .
months: ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"],
11 .
monthsSuffix:"月 "
html
<div class="input-group date form_date" data-date-format="yyyy年MM月dd日" ></div>
The text was updated successfully, but these errors were encountered: