dijo
dijo copied to clipboard
Let first calendar day always start on Monday
Shift first day of the month so that the first calendar day is always Monday. Otherwise, week days are not at a constant position month to month which is counter-intuitive to how normal calendars work.
Question is if the first day of the week should be configurable or (somehow) be fetched from the user's locale.
This PR is looking really good, thank you for showing interest in dijo
!
I did have the dates offset originally, but I felt a certain disconnect with how WEEK
mode interacts with this. Currently, WEEK
summarizes each row of the month, because there is no offset.
With the offset in place, 1 line in WEEK
mode would not correspond the 1 line in DAY
mode, but rather a bit of two lines.
With the offset in place, 1 line in WEEK mode would not correspond the 1 line in DAY mode, but rather a bit of two lines.
That's true in a way but somehow up to now I did not see such strong connection between both modes. Hmm, one could make it configurable but that means more options which means more failure modes and complaints. No idea what to do now ;-)
So currently week mode tabulates from whatever day of the month was the first? E.g. thursday to wednesday? That seems strange
Would it be possible to do the offset and show the previous month's contribution, maybe with a different terminal background color?
might be able to resolve with a configuration file and leave it up to the user #52
Is it possible to implement this as an option now that the configuration file has been merged?