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

Commit

Permalink
fix(monthView): get the correct week number on hover of the month vie…
Browse files Browse the repository at this point in the history
…w week

Closes #298
  • Loading branch information
Matt Lewis committed Feb 29, 2016
1 parent 9e83102 commit dac97e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/templates/calendarMonthCell.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
<ng-include src="vm.calendarConfig.templates.calendarMonthCellEvents"></ng-include>

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

</div>

0 comments on commit dac97e7

Please sign in to comment.