{#- The two authored fields shared by every maintenance set/edit form. The reason is raw Markdown source — never rendered DOM round-tripped back into a control — so it is a textarea even when today's explanation happens to be one line. `prefix` keeps labels unique on the member page, which may carry hundreds of editors. The duration-or-expiry value deliberately stays one line, blank keeps the ADR-0014 configured-default rule, and the click-opened help makes its exact grammar discoverable without a hover gesture or a second client-side parser. -#} {% macro maintenance_fields(reason, duration, prefix, maintenance_default, maintenance_timezone, compact=false) -%}
Markdown is supported; raw HTML is shown as text.
Timezone: {{ maintenance_timezone }} — used when the input has no Z or numeric offset.
Which formats can I use?
InputMeaning
2h, 3d, 17sDuration from now
2026-07-10 18:00Exact local date and time
2026-07-10T18:00+02:00Exact time with its own offset
07-10Next 10 July, at midnight
17Next 17th, at midnight
18:00Next 18:00
FridayNext Friday at 12:00
Fri 18:00Next Friday at 18:00
{%- endmacro %}