Skip to content
This repository has been archived by the owner on May 10, 2021. It is now read-only.

Commit

Permalink
use moment.updateLocale instread of deprecated moment.defineLocale
Browse files Browse the repository at this point in the history
  • Loading branch information
y-yagi committed Apr 28, 2016
1 parent 6b0bbfb commit 1624e5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/assets/javascripts/common/moment_ja.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
factory((typeof global !== 'undefined' ? global : this).moment); // node or other global
}
}(function (moment) {
return moment.defineLocale('ja', {
return moment.updateLocale('ja', {
months : '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split('_'),
monthsShort : '1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月'.split('_'),
weekdays : '日曜日_月曜日_火曜日_水曜日_木曜日_金曜日_土曜日'.split('_'),
Expand Down

0 comments on commit 1624e5b

Please sign in to comment.