Vorlage:Nächstes Plenum

Aus CCC Bremen

26.11.2024

$ cpp | grep -v '^#' | tr -s '@\n' '# ' ; echo

#define TUE(m) {{@ifexpr: \
  {{@time: d|third tuesday of m}} < 20 | \
  fourth tuesday of m | \
  third tuesday of m}}

#define THIS_OR(o) {{@ifexpr: \
  {{@time: d}} > {{@time: d| TUE(this month)}} | \
  TUE(o) | \
  TUE(this month)}}

{{@time: {{{1|d.m.Y}}} | {{@switch: {{@time: m}}
  | 11 = THIS_OR(second month)
  | 12 = TUE(first month) 
  | THIS_OR(first month)
}}}}