Vorlage:Nächstes Plenum: Unterschied zwischen den Versionen
Eeadc (Diskussion | Beiträge) KKeine Bearbeitungszusammenfassung Markierung: Zurückgesetzt |
Eeadc (Diskussion | Beiträge) K (Änderung 10166 von Eeadc (Diskussion) rückgängig gemacht.) Markierung: Rückgängigmachung |
||
Zeile 1: | Zeile 1: | ||
{{#time: {{{1|d.m.Y}}} | {{#switch: {{#time: m}} | 11 = {{#ifexpr: {{#time: d}} > {{#time: d| {{#ifexpr: {{#time: d|third tuesday of this month}} < 20 | fourth tuesday of this month | {{#time: {{{1|d.m.Y}}}| {{#switch: {{#time: m}} | 11 = {{#ifexpr: {{#time: d}} > {{#time: d| {{#ifexpr: {{#time: d|third tuesday of this month}} < 20 | fourth tuesday of this month | third tuesday of this month}}}} | {{#ifexpr: {{#time: d|third tuesday of second month}} < 20 | fourth tuesday of second month | third tuesday of second month}} | {{#ifexpr: {{#time: d|third tuesday of this month}} < 20 | fourth tuesday of this month | third tuesday of this month}}}} | 12 = {{#ifexpr: {{#time: d|third tuesday of first month}} < 20 | fourth tuesday of first month | third tuesday of first month}} | {{#ifexpr: {{#time: d}} > {{#time: d| {{#ifexpr: {{#time: d|third tuesday of this month}} < 20 | fourth tuesday of this month | third tuesday of this month}}}} | {{#ifexpr: {{#time: d|third tuesday of first month}} < 20 | fourth tuesday of first month | third tuesday of first month}} | {{#ifexpr: {{#time: d|third tuesday of this month}} < 20 | fourth tuesday of this month | third tuesday of this month}}}} }}}}<noinclude><pre> | ||
<noinclude><pre> | |||
$ cpp | grep -v '^#' | tr -s '@\n' '# ' ; echo | $ cpp | grep -v '^#' | tr -s '@\n' '# ' ; echo | ||
Version vom 30. April 2022, 22:32 Uhr
21.05.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) }}}}