Le Thu, 21 May 2020 20:51:45 +0200,
Alessandro De Laurenzis <[email protected]> a écrit :
> Just out of my curiosity, is there any way to change the date format
> in the vcalendar plugin? It seems it doesn't react to
> LC_TIME/LC_ALL...
>
I didn't know about this one but after a quick look this seems
hardcoded.
solene@t400 /tmp/claws-mail-3.17.5/src/plugins/vcalendar $ grep -r strftime .
./day-view.c: strftime(d, 99, "%x", tmdate);
./day-view.c: if (strftime(i18_date, 32, "%x", tm_date) == 0)
./day-view.c: g_error("Orage: orage_tm_date_to_i18_date too long string
in strftime");
./day-view.c: strftime(tip, 99, "%A %d %B %Y", &tm_date);
./month-view.c: strftime(d, 99, "%x", tmdate);
./month-view.c: if (strftime(i18_date, 32, "%x", &t) == 0)
./month-view.c: g_error("Orage: orage_tm_date_to_i18_date too long
string in strftime");
%x should respect locale representation though...