Post B4cuY2yDOuf46ONM0W by ar@is-a.cat
(DIR) More posts by ar@is-a.cat
(DIR) Post #B4cuY2yDOuf46ONM0W by ar@is-a.cat
0 likes, 0 repeats
Quiz: do you think this is a valid systemd calendar specification?000000000000002029-000000000001/0000005~00005
(DIR) Post #B4cuY3ImAT6l89zm3U by ar@is-a.cat
1 likes, 0 repeats
of course it is:❯ systemd-analyze calendar '000000000000002029-000000000001/0000005~00005' Original form: 000000000000002029-000000000001/0000005~00005Normalized form: 2029-01/5~05 00:00:00 Next elapse: Sat 2029-01-27 00:00:00 CET (in UTC): Fri 2029-01-26 23:00:00 UTC From now: 2 years 10 months left
(DIR) Post #B4cuYTnrdVQNK6jy7c by arrjay@tacobelllabs.net
1 likes, 0 repeats
@ar leading zeroes I can kinda reason through, but WHAT is this tilde business
(DIR) Post #B4cubyj57dXK67AiIK by ar@is-a.cat
0 likes, 0 repeats
@arrjay A date specification may use "~" to indicate the last day in a month. For example, "*-02~03" means "the third last day in February," and "Mon *-05~07/1" means "the last Monday in May."
(DIR) Post #B4cubyseY3C0ZneMDI by domi@donotsta.re
0 likes, 0 repeats
@ar @arrjay i had a theory and it was NOT THAT wtf
(DIR) Post #B4cuqdDHOBD3iiHeQS by ar@is-a.cat
1 likes, 0 repeats
@domi @arrjay also: it has some silly arbitrary limits. you can't go for negative days higher than 28, because february or somethingwhich would be a reasonable explenation, but you can also specify "31st day of an even (non-odd) month"❯ systemd-analyze calendar '*-2/2-31' Original form: *-2/2-31Normalized form: *-02/2-31 00:00:00 Next elapse: Mon 2026-08-31 00:00:00 CEST (in UTC): Sun 2026-08-30 22:00:00 UTC From now: 5 months 5 days left
(DIR) Post #B4cvHWindHvPPCqrUe by ar@is-a.cat
0 likes, 0 repeats
@domi @arrjay "bottom keymash, or systemd calendar spec"❯ systemd-analyze calendar '000000000000002029,2030..35/2,3,2029,2028-000000000001/0000005~00005' Original form: 000000000000002029,2030..35/2,3,2029,2028-000000000001/0000005~00005Normalized form: 2003,2028,2029,2030..2034/2-01/5~05 00:00:00 Next elapse: Thu 2028-01-27 00:00:00 CET (in UTC): Wed 2028-01-26 23:00:00 UTC From now: 1 year 10 months left
(DIR) Post #B4cvHWyOhIOyBa9Jo0 by arrjay@tacobelllabs.net
1 likes, 0 repeats
@domi @ar requiring age gates via calendar complex expression so that NO ONE can figure out wtffff