calcurse icon indicating copy to clipboard operation
calcurse copied to clipboard

Question: how to make an event for US elections

Open nobrowser opened this issue 1 year ago • 2 comments

This event occurs on

  • the Tuesday after the first Monday in November
  • or equivalently, the first Tuesday on or after November 2nd

I think there's a way to express this in Ical, but I haven't had luck with the calcurse UI.

Pretty important event, that one.

-- Ian

nobrowser avatar Feb 24 '24 05:02 nobrowser

Here is a work-around: Make a separate event for the exceptional case -- when Nov 1st falls on a Tuesday and Election Day is a week from then, which will thankfully happen next in 2033, by which time there may be no elections -- and a second one for the regular case when it's the first Tuesday in the month. A bit hackish but not unbearably so.

I still think the ical standard supports a neater way to do this and it would be good to support it in calcurse.

Btw, I think Canada's Victoria Day has a similarly complex rule.

-- Ian

nobrowser avatar Feb 26 '24 05:02 nobrowser

Related PR: https://github.com/lfos/calcurse/pull/357

avidseeker avatar Jul 01 '24 18:07 avidseeker