[Tickets #1178] NEW: Dates from old IMP versions not parsed correctly in inbox

bugs at bugs.horde.org bugs at bugs.horde.org
Sun Jan 16 09:38:00 PST 2005


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=1178
-----------------------------------------------------------------------
 Ticket     | 1178
 Created By | cfs at nova.es
 Summary    | Dates from old IMP versions not parsed correctly in inbox
 Queue      | IMP
 Version    | 4.0.1
 State      | Unconfirmed
 Priority   | 2. Medium
 Type       | Bug
 Owners     | 
-----------------------------------------------------------------------


cfs at nova.es (2005-01-16 09:37) wrote:

Old versions of IMP (such as 2.2) used to write the message date with
timezone, such as 

Sun, 16 Jan 2005 18:06:55 +0100 CET

these dates show as "Unknown date" in the folder view (they are correctly
parsed in the message view, though).

I've looked into this a bit, and the problem is that strtotime($h->date,
$curr_time) (for $h->date = any date with the format shown above) returns
-1. I'm using PHP 5.0.3.






More information about the bugs mailing list