News for hackers. Stuff that matters.
Re:Forebruary is a wall calendar that you do not need to rep... by Macha on Wednesday June 29, 2022 @10:44AM (#31920853)
The one problem then is with that style of calendar compared to the traditional month view is I need to calculate for e.g. "what is the date of Thursday in 3 weeks?"
Re:Forebruary is a wall calendar that you do not need to rep... by jayknight on Wednesday June 29, 2022 @11:26AM (#31921517)
Also, which line is June? What day of the week is the 4th of July on this year?
Re:Forebruary is a wall calendar that you do not need to rep... by otikik on Wednesday June 29, 2022 @12:24PM (#31922334)
There's 12 rows, so I believe the top row of numbers is January, the second one is February, and so on. So the 4th of July is Monday.

This is different from the OP in that it only works for one specific year, it needs to be generated anew for every single year.

I do think that having to "count rows" is a bit too much minimalism and probably we could have spared 3 characters per line in order to put month names:

    2022 M  T  W  T  F  S  S  M  T  W  T  F  S  S  M  T  W  T  F  S  S  M  T  W  T  F  S  S  M  T  W  T  F  S  S  M  T

    Jan                 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
    Feb     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 
    Mar     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
    Apr              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
    May                    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
    Jun        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
    Jul              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
    Aug  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
    Sep           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
    Oct                 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
    Nov     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 30 29
    Dec           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