@hlfan commented on this pull request.
> if (previousMonth === null) {
+ currentMonth += Math.round((monthLabelStartIndex -
getMonthOfThisWeek(date)) / 12) * 12;
Yes. Also, this could be part of the `previousMonth` initialization all
together.
--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/openstreetmap-website/pull/6725#discussion_r2706082098
You are receiving this because you are subscribed to this thread.
Message ID:
<openstreetmap/openstreetmap-website/pull/6725/review/[email protected]>_______________________________________________
rails-dev mailing list
[email protected]
https://lists.openstreetmap.org/listinfo/rails-dev