khal
khal copied to clipboard
date format on calendar view
Hello!
The calendar displayed usually shows days on the format 1, 2, 3, etc where I would like to change to 01, 02, 03, etc.
The reason for this is because I like the highlighting of days with events from multiple calendars, which is not possible if you only have one single character to highlight.
Is there already such setting, or is it a feature request?
No, there isn't a setting yet, sorry.
Hi. May I know if this issue is still open? I would like to work on this one.
yeah, its still an issue at least on my side
Hello, is it still an issue ? Would like to try working on it.
it still is, but bear in mind this https://github.com/pimutils/khal/pull/899
Sorry I didn't come back earlier on this issue, but finally it seems to me that if we don't want a config option, we can't generalize this visual choice without such an ugly result :

As you can see, months are not as visually separated as in the classical khal version, and it looks a bit confusing. So if someone still wants it to be done in a configurable way it is possible, but to me it is kind of useless. Please share yours views about this.
@GabrielDum I think a separation like this is what you're missing:
Mo Tu We Th Fr Sa Su
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
I have a working implementation of the solution above (only for khal), and i modified the tests as well. But i get some failures in event_test.py and icalendar_test.py, without having modified the corresponding files. Do i have to care about these ? Also, where do i have to do the modifications for ikhal's display ? I struggle trying to find the right file...