In IMP 6.2.27 (Horde 5), the message date was shown as a plain absolute timestamp, properly localized and timezone-adjusted.
In IMP 7.0.0-alpha17 (Horde 6), message dates are now shown using relative time (e.g., “18 hours ago”) via time-elements.js. However, this implementation introduces two major issues:
-
Localization is broken
The relative labels (e.g., "yesterday", "18 hours ago") are always displayed in English, regardless of the user’s language settings. The strings are hardcoded and not integrated with gettext or any translation mechanism.
-
Timezone handling is incorrect
Time differences appear to be calculated assuming UTC for both dates, ignoring the user’s actual timezone setting. For example, when reading a message sent at 8:00 UTC from a client in UTC+2, the UI incorrectly displays "2 hours ago" instead of "now".
The feature seems to have been introduced in commit 85c6d6e using time-elements.js. There is no integration with gettext or timezone logic.
This is a regression in usability compared to Horde 5.