Osclass forums

Support forums => Suggestions => Topic started by: blue on October 25, 2012, 03:07:35 pm

Title: a time bug?
Post by: blue on October 25, 2012, 03:07:35 pm
Hi,

I think there is a bug at line 28 of "oc-includes\osclass\utils.php".

Code: [Select]
$now       = date("Ymdhis");
The date format "Ymdhis" 12-hour format different with database.
It makes item expired or not unable to judge correctly, so maybe it should be...

Code: [Select]
$now       = date("YmdHis");
My English is pretty basic, please don't mind. :-[
Title: Re: a time bug?
Post by: _CONEJO on October 31, 2012, 12:44:07 pm
Hi blue,

Thanks for the help, the error have been already fixed on both, hotfixes and develop branches, : https://github.com/osclass/OSClass/commit/09be9b787721c8fede927daa492618a66ace5931
Thanks!