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

douggreen’s picture

Project: Views Date Range Filter » Date
Version: 5.x-1.4 » 5.x-1.x-dev
Status: Active » Closed (duplicate)

Again, I think you meant the date module here... However, is this different than the other issue you filed?

patrickfgoddard’s picture

I 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.