Closed (duplicate)
Project:
Date
Version:
5.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
6 Aug 2007 at 18:12 UTC
Updated:
28 Aug 2007 at 22:28 UTC
Whats the best way to get around the infamous "1 day off error" when using Views and a CCK Date field?
Example... example.com/views/07-11-2007 appearing in example.com/views/07-10-2007
The TimeZone format problem. If you don't want to use hours and minutes... what the best way to avoid this problem?
Comments
Comment #1
douggreen commentedAgain, I think you meant the date module here... However, is this different than the other issue you filed?
Comment #2
patrickfgoddard commentedI don't know if this will fix the "one day off" error for Views, but I was having issues with CCK date field and the one day off thing for dates pre-1970.
I added adodb-time.inc.php (from http://phplens.com/phpeverywhere/adodb_date_library ) as is recommended in the INSTALL.txt file for this module, and totally fixed my problems. I wish I had realized this MONTHS ago...
In any case, I'd be curious if others have their date module issues fixed by adding adodb-time.inc.php to the date module folder.