[ghelda-devel] [15] Correct dummy error?\226?\128?\166 |
[ Thread Index |
Date Index
| More lists.tuxfamily.org/ghelda-devel Archives
]
Revision: 15
Author: odyx
Date: 2009-04-01 13:23:27 +0200 (Wed, 01 Apr 2009)
Log Message:
-----------
Correct dummy error?\226?\128?\166
Modified Paths:
--------------
trunk/inc/outputs/xHTML.class.php
Modified: trunk/inc/outputs/xHTML.class.php
===================================================================
--- trunk/inc/outputs/xHTML.class.php 2009-04-01 11:19:05 UTC (rev 14)
+++ trunk/inc/outputs/xHTML.class.php 2009-04-01 11:23:27 UTC (rev 15)
@@ -729,7 +729,7 @@
private function formatDateSimple($date)
{
preg_match("`([0-9]{4})-([0-9]{1,2})-([0-9]{1,2})`", $date, $regs);
- return (int)$regs[0].'-'.(int)$regs[1].'-'.(int)$regs[2];
+ return (int)$regs[1].'-'.(int)$regs[2].'-'.(int)$regs[3];
}
private function comment($code, $do_echo = false)