I have 1 date field that contains only the year and 2 date fields that contain only Year and Month; 'Collect an end date' is unchecked. However, a start date and an end date (same date) are displayed, when only a date is needed. Attaching graphic for examples.

CommentFileSizeAuthor
#1 DateFieldProblems.jpg63.26 KBMark_L6n

Comments

Mark_L6n’s picture

StatusFileSize
new63.26 KB

Trying file attachment again.

luca cattaneo’s picture

I have the same problem.. have you solved it? thanx!

Mark_L6n’s picture

No, still have the problem unfortunately!

luca cattaneo’s picture

I don't know why.. but today, when I reopen my drupal site the date was ok.
Have you clear the cache? (stupid question.. I know)

If I understand what was the problem I'll tell you.

Marc-Antoine’s picture

Same problem here!

It's a bit frustrating to know that only one line of code could fix it; I'll try to find it, but i'm not used to Drupal yet.

Edit: Can't reproduce issue within a fresh install of Drupal, still searching though..

Marc-Antoine’s picture

Status: Active » Needs review

It looks like the 'Theme developer' module from the 'Devel' suite is causing this issue. I will create an issue on their page.

Edit:
Here's the issue from the Theme developer module: http://drupal.org/node/1338958

Mark_L6n’s picture

You're right! Turning Theme Developer off solved the problem here too. Coincidentally, I just found out a couple of hours ago that Theme Developer was also causing a problem in Features. (http://drupal.org/node/1203468) Makes me wonder how many other glitches in the past have been caused by Theme Developer.

karens’s picture

Status: Needs review » Fixed

This is not Date bug. The Theme Developer will cause all kinds of problems with lots of modules if left on. It is designed be turned on only when you need it and then turned off again, which is noted on its project page.

luca cattaneo’s picture

Right! Same for me!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.