Module talk:Calendar widget
(Redirected from Module talk:Calendar widget/doc)
Latest comment: 8 months ago by JPxG in topic Bug?
Bug?
editCalling 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:
October 2024 | ||||||
---|---|---|---|---|---|---|
Su | Mo | Tu | We | Th | Fr | Sa |
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 | 31 |
October 2024 | ||||||
---|---|---|---|---|---|---|
Mo | Tu | We | Th | Fr | Sa | Su |
1 | 2 | 3 | 4 | 5 | 6 | |
7 | 8 | 9 | 10 | 11 | 12 | 13 |
14 | 15 | 16 | 17 | 18 | 19 | 20 |
21 | 22 | 23 | 24 | 25 | 26 | 27 |
28 | 29 | 30 | 31 |
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)
- 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
:
October 2024 | |||||||
---|---|---|---|---|---|---|---|
Wk | Mo | Tu | We | Th | Fr | Sa | Su |
40 | 1 | 2 | 3 | 4 | 5 | 6 | |
41 | 7 | 8 | 9 | 10 | 11 | 12 | 13 |
42 | 14 | 15 | 16 | 17 | 18 | 19 | 20 |
43 | 21 | 22 | 23 | 24 | 25 | 26 | 27 |
44 | 28 | 29 | 30 | 31 |
- I'll look into fixing this.
- —Trappist the monk (talk) 23:58, 13 February 2024 (UTC)
- 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)