I'm not sure what is going wrong, but I created a Date field, and though it has been working fine, on March 12, 2012 and beyond all dates entered are retrieved one day earlier. The fields in the node edit display the correct date, but retrieving is the problem. I'm not sure if it is a timezone issue? Why March 12, 2012 and past that? Could this problem be a bug?

Comments

Roze-1’s picture

Subscribing !! facing the same here..

Greg Landgraf’s picture

Having the same problem here. Also, this seems to be a new problem: I've got a calendar event in November 2012 that was displaying fine; when I made an edit to it today, it started displaying a day earlier.

Roze-1’s picture

Please check the below link for more information, It seems one of my timezone was shifted an hour earlier. :(

http://www.timezoneconverter.com/cgi-bin/zoneinfo.tzc

leisurman’s picture

Im having the same problem does someone know the answer?

Greg Landgraf’s picture

Aha... March 12 is when daylight savings time starts. So it looks like when it sees, say, March 15, 2012, it decides that it's actually March 14, 2012, at 11 p.m.

An ugly workaround is to go into manage fields for the date and change the granularity to go down to the hour, rather than just the day. Then, in the item itself, set the hour at 2, so that even with the hour shift, the date will show up right. (The hour doesn't show up on the final page, at least not with how my site is set up.)

I suspect there's a better way to do it, and I'd love to hear it, but that's at least a stopgap.

Roze-1’s picture

Please use the DST module, it will tackle your timezone for you

http://drupal.org/project/dst

Greg Landgraf’s picture

That's much better. Thanks, Roze.

Anonymous’s picture

Version: 6.x-2.7 » 7.x-2.x-dev

Same problem on D7, All my dates now shifted 1 day, just as described in #5.
I need a way to disable DST correction, because my dates are "as entered", with no need to adjust for DST.

karens’s picture

Version: 7.x-2.x-dev » 6.x-2.x-dev

Everything about timezone handling has changed from D6 to D7. Please don't switch this from one version to the other.

If you think you have a D7 problem look for a D7 issue, or open one if you don't see one.

damienmckenna’s picture

Issue summary: View changes
Status: Active » Closed (won't fix)

Unfortunately the Drupal 6 version of the Date module is no longer supported. That said, we appreciate that you took time to work on this issue. Should this request still be relevant for Drupal 7 please feel free to reopen it. Thank you.