# iMIP invitation email shows "at 00:00" for all-day events

**URL:** https://support.stalw.art/t/imip-invitation-email-shows-at-00-00-for-all-day-events/2029
**Category:** Issues
**Created:** [October 25, 2026, 11:21pm UTC](https://support.stalw.art/t/imip-invitation-email-shows-at-00-00-for-all-day-events/2029 "2026-10-25T23:21:08Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![LyriC-spec](https://support.stalw.art/user_avatar/support.stalw.art/lyric-spec/32/998_2.png) [@LyriC-spec](https://support.stalw.art/u/LyriC-spec)
#### Post date: [October 25, 2026, 11:21pm UTC](https://support.stalw.art/t/imip-invitation-email-shows-at-00-00-for-all-day-events/2029/1 "2026-10-25T23:21:08Z")

</div>

### 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

1. 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.
2. Open the invitation email at the attendee.
3. 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

---

<div class="post-metadata">

### Author: ![helpbot](https://support.stalw.art/user_avatar/support.stalw.art/helpbot/32/13_2.png) [@helpbot](https://support.stalw.art/u/helpbot)
#### Post date: [October 25, 2026, 11:21pm UTC](https://support.stalw.art/t/imip-invitation-email-shows-at-00-00-for-all-day-events/2029/2 "2026-10-25T23:21:21Z")

</div>

The analysis is accurate. Looking at `crates/groupware/src/scheduling/format.rs`, `TextFormatter::field()` always formats `ItipValue::Time` using `date_short`/`date_long`, which are built with `fieldsets::YMD::medium().with_time_hm()` and `fieldsets::YMD::long().with_time_hm()` respectively. There is no date-only formatter and no check for whether the event is an all-day (`VALUE=DATE`) event, so midnight always gets rendered as a time in both the subject line and the “When” field of the HTML body, even though the generated `event.ics` correctly uses `DTSTART;VALUE=DATE`.

This is a genuine bug in the invitation text/HTML rendering path, not in the ICS data itself, which is why GMX (which reads the ICS) shows it correctly while the email text does not. A human maintainer will need to confirm the fix (e.g. adding an all-day-aware formatter that drops `.with_time_hm()` for date-only `DTSTART` values) and get it into a release.

_This is an automated reply from the Stalwart Help Bot. Other community members may follow up if this answer is incomplete or wrong._

---

<div class="post-metadata">

### Author: ![stalwart](https://support.stalw.art/user_avatar/support.stalw.art/stalwart/32/12_2.png) [@stalwart](https://support.stalw.art/u/stalwart)
#### Post date: [October 27, 2026, 5:34pm UTC](https://support.stalw.art/t/imip-invitation-email-shows-at-00-00-for-all-day-events/2029/3 "2026-10-27T17:34:27Z")

</div>

Thanks, your pointer to `TextFormatter::field()` was spot on. The summary that feeds the email template didn’t keep track of whether DTSTART was a DATE or a DATE-TIME, so every start went through the date-and-time formatter and an all-day event came out as midnight.

It now remembers the value type, and VALUE=DATE starts are printed with a date-only formatter and no time zone suffix. That covers the subject, the “When” line and the “changed” lines in update emails, so your example becomes “Freitag, 30. Oktober 2026”. The fix ships in next week’s Stalwart release.
