khal icon indicating copy to clipboard operation
khal copied to clipboard

date format on calendar view

Open aleprovencio opened this issue 7 years ago • 8 comments

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?

aleprovencio avatar Sep 03 '18 18:09 aleprovencio

No, there isn't a setting yet, sorry.

geier avatar Sep 19 '18 07:09 geier

Hi. May I know if this issue is still open? I would like to work on this one.

Badboy-16 avatar May 12 '21 05:05 Badboy-16

yeah, its still an issue at least on my side

aleprovencio avatar May 12 '21 14:05 aleprovencio

Hello, is it still an issue ? Would like to try working on it.

GabrielDum avatar Sep 20 '22 14:09 GabrielDum

it still is, but bear in mind this https://github.com/pimutils/khal/pull/899

aleprovencio avatar Sep 20 '22 15:09 aleprovencio

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 :

Capture d’écran 2022-10-26 105130

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 avatar Oct 26 '22 08:10 GabrielDum

@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

WhyNotHugo avatar Oct 26 '22 09:10 WhyNotHugo

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...

GabrielDum avatar Nov 23 '22 17:11 GabrielDum