Hi

Using the latest dev version on Drupal 6, selecting the date of 31st December 2012 displays on the node as 31st December 2013.
Tested with both the pop up date selector and the custom input format.
Selecting either the dates of 31st December 2011 or 2013 displays correctly as expected.
Changed input formats with no effect on the 31st December 2012 date.

Any ideas as to why its doing this? 2012 was a leap year....

Comments

gpk’s picture

Status: Active » Postponed (maintainer needs more info)

Strange, we are running 6.x-2.9 and 31 Dec 2012 behaved just fine!

Is this still a problem? Can anyone else reproduce?

apmac’s picture

Hi

I know I have left this issue for a while but I'm revisiting it.

As a further update the correct value is being stored in the database table: 2012-12-31T00.00.00

But its still outputting as 31st December 2013.

jkingsnorth’s picture

Issue summary: View changes
Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)

Also unable to recreate this error. I'm marking it as unable to reproduce, but if the original poster (or anyone experiencing the problem) can provide steps to recreate the problem from a fresh install in the latest version then please do reopen the issue.

Please post complete instructions about how to recreate it and what settings you are using in the Date module and the date fields.

I tried 31 Dec 2016 (next leap year) as well, but that seems to work OK - perhaps the issue will come up again in 2 years!