6.0.0-beta6
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
3/29/26
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#14076] Date parsing causes invites not to be displayed (exception is being ignored)
*
Your Email Address
*
Spam protection
Enter the letters below:
.___.___..__ .__..__. [__ | | \| || | | | |__/|__\|__\
Comment
> We are facing an localization-related issue with meeting invites and Horde > (webmail). The invites are processed correctly by Thunderbird, iPhones and > other email clients. > > Attached to this email is an example invite, which originates from an MS > Exchange 2010. > > The invite is a "multipart/alternate" message. Horde's webmail lists the > three MIME components, but when one tries to display the "invite" (vcalendar) > part, an empty window is shown. > > In fact, there is an exception which is being silently ignored: > > exception 'Horde_Date_Exception' with message 'Failed to parse time > string (18/05/2015 3:30 pm)' in /usr/share/php/Horde/Date.php:375 > Stack trace: > > However, the problem disappears when the language, and date (format) > setting is > changed in Preferences/Global preferences/Locale and Time: > > - Select your preferred language > - Choose how to display dates (full format): > > 1. WORKS: English (American) and mm/dd/yyyy > 2. WORKS: English (American) and yyyy-mm-dd > 3. FAILS: English (American) and dd/mm/yyyy > > 4. FAILS: Spanish and dd/mm/yy > 5. FAILS: Spanish and dd/mm/yyyy > 6. WORKS: Spanish and yyyy-mm-dd > > > The exception originates at: > > lib/Mime/Viewer/Itip.php : function _vEvent() > > which uses the 'date_format' preference to "print" the dates present in the > vcalendar. The strigified dates are parsed back in the same function via > Horde_date. > > I guess then problem arises due to an apparent ambiguity. One > workaround is to > ignore the pref 'date_format' and use something like '%Y-%m-%d', but this > makes the dates appear in an unusual format for users. > > This is on Horde 5.6.2. > > Has any one else see the same issue? > > What can we do about it? > > Thank you,
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers