Skip to content
This repository was archived by the owner on Jun 19, 2018. It is now read-only.

Commit dac97e7

Browse files
author
Matt Lewis
committed
fix(monthView): get the correct week number on hover of the month view week
Closes #298
1 parent 9e83102 commit dac97e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/templates/calendarMonthCell.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
<ng-include src="vm.calendarConfig.templates.calendarMonthCellEvents"></ng-include>
3333

3434
<div id="cal-week-box" ng-if="$first && rowHovered">
35-
{{ vm.calendarConfig.i18nStrings.weekNumber.replace('{week}', day.date.week()) }}
35+
{{ vm.calendarConfig.i18nStrings.weekNumber.replace('{week}', day.date.clone().add(1, 'day').isoWeek()) }}
3636
</div>
3737

3838
</div>

0 commit comments

Comments
 (0)