|dbQwikSite User Forum
|Date format problem and solution in function qsconvertdate
|Page 1 of 1|
|Author:||rgdobie [ Thu Nov 04, 2010 6:31 am ]|
|Post subject:||Date format problem and solution in function qsconvertdate|
In qs_functions.php at line 281 the following code:
$temp = preg_split('[- ]', $sdate);
should be replaced by:
$temp = preg_split('[-]', $sdate);
The existing code causes dates to display wrongly e.g. the date begins or ends with two dashes or slashes and the format is not applied such as '2010-10-28' displaying as '--2010-10-28'.
|Author:||rdbartz [ Sat Nov 20, 2010 10:56 am ]|
|Post subject:||Re: Date format problem and solution in function qsconvertda|
Thanks for that fix, I think Gerald will surely correct this in the next update.
|Page 1 of 1||All times are UTC + 7 hours|
|Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group