Radicore Forum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » RADICORE development » Bug Reports » Date conversion error
Re: Date conversion error [message #2574 is a reply to message #2572] Wed, 30 June 2010 06:37 Go to previous messageGo to previous message
AJM is currently offline  AJM
Messages: 2350
Registered: April 2006
Location: Surrey, UK
Senior Member
DateTime::__construct() is only ever called when the user's timezone is different from the server timezone.

After setting $GLOBALS['date_format'] to 'dd/mm/yy' and creating a new user on 30-06-2010 I played around with various updates to see what happened. I could never get it to abort, but I did get some invalid dates. See if the update in the attached file fixes your problem.

What version of PHP are you using? What timezones?


 
Read Message
Read Message
Read Message
Read Message
Previous Topic: MySQL: Updating SET data type fields
Next Topic: Update from a Detail Screen works incorrectly
Goto Forum:
  


Current Time: Fri May 24 15:37:52 EDT 2024

Total time taken to generate the page: 0.00983 seconds