libera/#clim - IRC Chatlog
Search
7:08:46
contrapunctus
https://jabjab.de:5443/upload/a75f5b15713067434614f6d0c986f536c301cf7e/GaPEr65B8VFBxqYNKwu86h2KTNeqrrdwS5irdTvg/2022-08-17_12-38-15.png
7:51:28
beach
There is an interesting clash between the names of the days of the week in Vietnamese and their numbers in ISO8601.
7:51:57
beach
Monday is named "day 2" in Vietnamese. Tuesday is named "day 3", etc. The exception is Sunday.
8:26:30
contrapunctus
beach: Would you mind if someone made a website for CLOSOS? I've met more than one person within the CL community alone who wasn't aware that it's a real project that lives on outside of the paper. If there was awareness, there may be more volunteers.
8:28:23
beach
I would not mind that. Are you thinking of volunteers for the applications and such. Because for the system itself, it all depends on SICL.
8:32:52
contrapunctus
Yes, for the applications. Although I'm somewhat hesitant, since others may or may not adhere to a coherent design...
11:15:02
pjb
contrapunctus: (patches accepted for new projects or updates to existing projects (links, etc)).
11:47:01
Duuqnd
I guess I should've said something about this much earlier, but I'm also working on a calendar program (though I've been putting off any GUI work so far)
11:51:15
Duuqnd
It might be possible to combine them I guess, since I've only been working on things like events and reminders so far
11:53:22
Duuqnd
I don't know what contrapunctus has done so far though so maybe it wouldn't be useful to merge them
12:11:53
Duuqnd
I've been making sure to export the symbols needed to make a UI for it (and made a terrible terminal interface for testing) so it should be reasonably easy
12:21:44
contrapunctus
Duuqnd: where's your code? https://codeberg.org/contrapunctus/clim-calendar (probably very ugly at the moment)
12:22:44
Duuqnd
It's in a private Github repo (because I'm embarrassed of some parts), but I can make it public
12:23:13
Duuqnd
(the parts I'm embarrassed of are quite small actually, but it's enough for me not to have made it public immediately)
12:35:24
Duuqnd
Github doesn't display page break characters so it looks like just a long unbroken stretch of code
12:42:55
Duuqnd
Regarding week numbers, local-time makes the week number available through the format-timestring function
12:46:14
Duuqnd
It also has short and long weekday names which could be nice to let local-time handle instead of doing manually
12:46:26
jackdaniel
http://naggum.no/lugm-time.html for those who did not read it (local-time is implemented based on the spec proposed here)
12:48:25
contrapunctus
IIRC it was unsuccessful because you can't do something like (adjust-timestamp TS (offset :dow 0))
12:51:30
Duuqnd
I was mainly thinking when it comes to printing the names, not sure what the problem with adjust-timestamp would do then
13:49:43
contrapunctus
Duuqnd: LOCAL-TIME keeps weekday names in unexported variables. The alternative I thought of was to create 'throwaway' dates (not all weekdays correspond to dates printed in the calendar - note the leading empty cells) and use the day of week accessors, but I ran into the problem I described above.
13:52:03
beach
Acclimation has names of weekdays in English, French, Afrikaans, German, Japanese, Polish, Swedish, and Vietnamese, if that's what you want.
13:57:49
Duuqnd
I haven't been thinking much about multiple languages since if we support that now we'd probably end up doing something a little too platform specific
13:58:56
Duuqnd
And partially because I've been annoyed to death by calendar programs insisting I use Swedish weekday names even though my system language is set to English
14:00:59
Duuqnd
I think at one point I ended up trying to make my own locale setting on Linux to fix it only to learn that the version of Thunderbird I was using simply didn't handle locale setting properly
14:01:56
beach
Some programs on this Linux system display dates in French, but they display it with the month first and the date after, as in English. That is also annoying.