Module talk:Calendar widget

Latest comment: 1 year ago by JPxG in topic Bug?

Bug?

edit

Calling this with the iso=yes shifts the display of the dates in the calendar, but it doesn't shift the ordering of the header cells! This means it just generates an inaccurate calendar!

See, look:


August 2025
SuMoTuWeThFrSa
     12
3456789
10111213141516
17181920212223
24252627282930
31      
August 2025
MoTuWeThFrSaSu
    123
45678910
11121314151617
18192021222324
25262728293031

February 2024 began on Thursday, but if you invoke this module with "ISO display", it just moves everything to the left by one day (good) and says that the first was a Wednesday (bad). jp×g🗯️ 22:43, 13 February 2024 (UTC)Reply

I had forgotten that this module exists. I was going to suggest that it should be deleted but, it is actually being used. Color me surprised.
The week-day header is correct when |iso_wk=yes:
August 2025
WkMoTuWeThFrSaSu
31    123
3245678910
3311121314151617
3418192021222324
3525262728293031
I'll look into fixing this.
Trappist the monk (talk) 23:58, 13 February 2024 (UTC)Reply
One can only assume you looked at it quite intimidatingly, because the bug now looks to be gone - brilliant work, I had assumed there would be nothing here but tumbleweeds :^) jp×g🗯️ 05:21, 14 February 2024 (UTC)Reply