When I update a content with a date field which has hour and minute granularity and 'select from list' attribute, the value which is shown in the dropdown menu for hours is quite random, so that I have to put the time back to the correct one every time.

For example: I have an event set for 09/01/2007 at 9:00. I go and update it, and the date is correct but instead of 9:00 I have 8:00, or 12:00 or something else selected. If I do not correct it the value is updated to this rondom one. Only the hour seems concerned (minutes remain as they are), but I couldn't see any pattern in the hours displayed. Maybe some persistent value of some variable? Can't say...

Comments

redsun82’s picture

I guess the random behaviour was due to updating the nodes one after the other, because now I get a more consistent behaviour (though still buggy).

I have two content types: one with two date fields (beginning and end) with year - month - day granularity, the other with a single date field with year - month - day - hour - minute granularity. All date fields are set to "select from list". When I update one of the nodes of the first type, in the form the day goes down by one, while if I update the other, it's the hour that goes down by one.

karens’s picture

Status: Active » Fixed

Found the problem and it should be working right after latest commit.

chrissearle’s picture

Is this also fixed in the 5.x tree? Exact same problem.

chrissearle’s picture

That was a lazy question - sorry - late night. I've just grabbed the last 5.x date - both situations fixed.

Anonymous’s picture

Status: Fixed » Closed (fixed)