Imagine wondering “When’s the next time that Christmas will be a Tuesday/Wednesday, for those sweet optimal public holidays (Jan 1st being exactly a week later)?”

Now imagine asking, idk, google or Siri or god forbid an actual calendar, instead of turning to the best tool for the job: systemd.

#systemd #linuxadmin #linux #systemd

@rixx this doesn't work properly though:

jann@tigerlap:~/linux$ systemd-analyze calendar --base-time='2010-01-01' "*-*-* 23:59:60"
Failed to parse calendar specification '*-*-* 23:59:60': Invalid argument