Skip to content

Commit

Permalink
minor #2526 Update bootstrap-datepicker.zh-TW.js (JaySkyworker)
Browse files Browse the repository at this point in the history
This PR was merged into the 1.10-dev branch.

Discussion
----------

| Q               | A
| --------------- | ---
| Bug fix?        | yes
| New feature?    | no
| BC breaks?      | no
| Related tickets | N/A
| License         | MIT

- Add monthsTitle
- Add titleFormat (more commonly used)
- Update weekStart to 0 (more commonly used)
- Update format to "yyyy/mm/dd" (more commonly used)
- remove extra space


Commits
-------

4aa7de5 Update bootstrap-datepicker.zh-TW.js
  • Loading branch information
acrobat committed Jan 24, 2021
2 parents 07f3026 + 4aa7de5 commit 203bbc9
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions js/locales/bootstrap-datepicker.zh-TW.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,14 @@
$.fn.datepicker.dates['zh-TW'] = {
days: ["星期日", "星期一", "星期二", "星期三", "星期四", "星期五", "星期六"],
daysShort: ["週日", "週一", "週二", "週三", "週四", "週五", "週六"],
daysMin: ["日", "一", "二", "三", "四", "五", "六"],
daysMin: ["日", "一", "二", "三", "四", "五", "六"],
months: ["一月", "二月", "三月", "四月", "五月", "六月", "七月", "八月", "九月", "十月", "十一月", "十二月"],
monthsShort: ["1月", "2月", "3月", "4月", "5月", "6月", "7月", "8月", "9月", "10月", "11月", "12月"],
today: "今天",
format: "yyyy年mm月dd日",
weekStart: 1,
monthsTitle: "月份",
format: "yyyy/mm/dd",
weekStart: 0,
titleFormat: "yyyy年mm月",
clear: "清除"
};
}(jQuery));

0 comments on commit 203bbc9

Please sign in to comment.