Closed (fixed)
Project:
Date
Version:
7.x-2.7
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
25 Feb 2014 at 11:25 UTC
Updated:
3 Mar 2014 at 15:18 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
vijaycs85Let's triage this issue.
Comment #2
Yvonne_Federowicz commentedSomewhat related...
Be sure you know what date field attributes you are collecting...
Under "Field Settings":
Date attributes to collect
Year Month Day Hour Minute Second
(checkboxes)
In a case where Year, Month, Day, Hour are the only date field data being collected:
Using the popup calendar widget breaks data updates or entries; this widget automatically inserts & requires a date with minutes in that box. Then the update is always rejected per my second image, because the hour format required for form submission is a simple number like "17" with no minutes. So the update has to be abandoned once you touch the data in that date field (or use the calendar to enter it.)
The MySQL date column for this field has a regular time format including minutes and seconds, seems in GMT.
2014-04-12 21:00:00
(I'm in the eastern U.S. for time zone; 21:00 in GMT should be 17:00 eastern daylight time, U.S.)
Comment #3
Yvonne_Federowicz commentedComment #4
yan commentedIt seems there was a problem with the date format setting. In the field display settings (at admin/structure/types/manage/[nodetype]/display) the time was also displayed incorrectly. I then changed the format at admin/config/regional/date-time and the error disappeared.