It is currently Wed Dec 13, 2017 8:13 am




Post new topic Reply to topic  [ 2 posts ] 
Date format problem and solution in function qsconvertdate 
Author Message

Joined: Fri Aug 22, 2008 1:03 pm
Posts: 94
Location: Australia
Post 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'.

_________________
www.conwave.com.au


Thu Nov 04, 2010 6:31 am
Profile E-mail WWW

Joined: Sun Oct 07, 2007 10:53 am
Posts: 11
Post Re: Date format problem and solution in function qsconvertda
Thanks for that fix, I think Gerald will surely correct this in the next update.

Richard


Sat Nov 20, 2010 10:56 am
Profile
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Copyright © 2004-2008 TheDevShop Ltd. All Rights Reserved