Environment
- PHP version: 8.5.6
- ImapEngine version: v1.24.0
- IMAP server: Outlook and Microsoft Graph
Description
The Message|MessageInterface -> date() function is returning inconsistent hour formats. For emails sent at the exact same hour period (e.g., 5 PM), the output randomly mixes 12-hour and 24-hour representations.
For example, given the format 2026-03-05 17:24:20:
- Some emails sent at 5 PM return
17 for the hour.
- Other emails sent at 5 PM return
5 for the hour.
This makes parsing the date accurately impossible.
Environment
Description
The Message|MessageInterface -> date() function is returning inconsistent hour formats. For emails sent at the exact same hour period (e.g., 5 PM), the output randomly mixes 12-hour and 24-hour representations.
For example, given the format
2026-03-05 17:24:20:17for the hour.5for the hour.This makes parsing the date accurately impossible.