* Fix moment#5327 output wrong next week string when in last week of the year in ja locale
* Fix moment#5327 output wrong next week string when in next week of the year in ja locale
sameDay : '[今日] LT',
nextDay : '[明日] LT',
nextWeek : function (now) {
- if (now.week() < this.week()) {
+ if (now.week() !== this.week()) {
return '[来週]dddd LT';
} else {
return 'dddd LT';
},
lastDay : '[昨日] LT',
lastWeek : function (now) {
- if (this.week() < now.week()) {
+ if (this.week() !== now.week()) {
return '[先週]dddd LT';
} else {
return 'dddd LT';