I am not able to save dates before 1970. In my research I found that
this is due to an issue with mktime on some Linux distros. Has anyone
run into this? If so is there a quick fix I can apply?

I've fixed this before in wordpress with the following:

1. Download the "adodb Date Time Library" at
http://phplens.com/phpeverywhere/adodb_date_library

2. Move the file "adodb-time.inc.php" into the "wp-includes" folder

3. Modify functions.php and change all mktime,date and gmdate function
calls:
mktime(...) becomes adodb_mktime(...)
date(...) becomes adodb_date(...)
gmdate(...) becomes adodb_gmdate(...)

Any tips are much appreciated.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~----------~----~----~----~------~----~------~--~---

Reply via email to