simjanos-dev / LinguaCafe

LinguaCafe is a self-hosted software that helps language learners read foreign languages.
https://simjanos-dev.github.io/LinguaCafeHome/
GNU General Public License v3.0
891 stars 32 forks source link

Offset calendar months to a more typical weekly format #339

Open cblanken opened 3 months ago

cblanken commented 3 months ago

It's a bit confusing looking at the Calendar component since it's organized in a typical weekly format (7 columns by 5 rows) but at the wrong offset. The first day always begins in the first column when I'd expect it to correspond to either of the following formats.

For example, the month of August 2024.

Monday to Sunday

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

Sunday to Saturday

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

As opposed to the existing calendar image

simjanos-dev commented 3 months ago

I'll add an option for both of those.