Vorlage:Nächstes Plenum

Aus Chaos Computer Club Bremen e.V. (CCCHB)
Wechseln zu: Navigation, Suche
24.09.2019
$ 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)
}}}}