Issue Description
Invitation emails generated by Stalwart (built-in template, no Enterprise license) show a time of “00:00” for all-day events, both in the subject and in the HTML body. The attached event.ics is correct (DTSTART;VALUE=DATE).
As far as I can see, the cause is in crates/groupware/src/scheduling/format.rs: TextFormatter::field() formats every ItipValue::Time with fieldsets::YMD::long().with_time_hm() (or medium() for the short style). There is no branch for date-only values, so midnight is printed as a time. A date-only formatter (fieldsets::YMD without time) for VALUE=DATE start values would fix the subject, the HTML body and the “changed” lines in update emails.
Expected Behavior
For an all-day event the “When” line shows only the date, e.g. “Friday, 30 October 2026”, and the subject contains no time.
Actual Behavior
Subject: “Einladung: Urlaub @ Freitag, 30. Oktober 2026 um 00:00” (German locale)
HTML body, “WANN”: “Freitag, 30. Oktober 2026 um 00:00”
GMX reads the attached event.ics and correctly shows the event as all-day (“Ganztägig”). Recipients reading the email text think the event starts at midnight.
Reproduction Steps
- Create an all-day event via JMAP CalendarEvent/set with showWithoutTime: true, start: “2026-10-30T00:00:00”, duration: “P1D”, one external attendee, and sendSchedulingMessages: true.
- Open the invitation email at the attendee.
- The subject and the “When” line show “00:00”.
Stalwart Version
v0.16.x
Installation Method
Binary (Linux)
Database Backend
RocksDB
Blob Storage
RocksDB
Search Engine
Internal
Directory Backend
Internal
Additional Context
Single node, Debian VM, systemd. Clients: own JMAP web client; tested recipient: GMX webmail.
I tested this on our own instance. The report was written with the help of an AI assistant (Claude); I checked the steps and results.
I have reviewed the documentation and FAQ and confirm that my issue is NOT addressed there.
on
I have searched this support forum (open and closed topics) and confirm this is not a duplicate.
on
I understand that topics in this category are triaged by a bot first but a human reply will follow up. If I’d prefer a human-only reply, I’ll add the no-ai tag to my topic.
on