[bugs] [Bug 1291] New - delete sent-mail task does not work with non english language

bugs at bugs.horde.org bugs at bugs.horde.org
Mon Jun 23 05:40:17 PDT 2003


http://bugs.horde.org/show_bug.cgi?id=1291

*** shadow/1291	Mon Jun 23 09:40:17 2003
--- shadow/1291.tmp.18077	Mon Jun 23 09:40:17 2003
***************
*** 0 ****
--- 1,45 ----
+ Bug#: 1291
+ Product: Horde
+ Version: 2.2 Stable
+ Platform: PHP Code
+ OS/Version: IRIX
+ Status: NEW   
+ Resolution: 
+ Severity: normal
+ Priority: P2
+ Component: IMP
+ Area: BUILD
+ AssignedTo: chuck at horde.org                            
+ ReportedBy: robert.marchand at umontreal.ca               
+ URL: 
+ Summary: delete sent-mail task does not work with non english language
+ 
+ Hi,
+ 
+  
+ 
+     I’ve found that the task delete_sentmail_monthly will not sort right the 
+ sent-mail folders if using a non English language.  With IMP 3.2.1, the month 
+ are now renamed with month number but the delete task still assume a word base 
+ specification:
+ 
+  
+ 
+ [lib/Maintenance/Task/delete_sentmail_monthly.php]
+ 
+  
+ 
+ …
+ 
+ $folder_array[$k] = strtotime(“$regs[1] 1, $regs[2]”);
+ 
+ …
+ 
+  
+ 
+ With sentmail-feb-2003 this would give: strtotime(“feb 1, 2003”) which is OK,
+ 
+ but with sentmail-02-2003 this will give: strtotime(“02 1, 2003”) which 
+ returns –1.
+ 
+ 


More information about the bugs mailing list