If I edit an event node the time values are always reset to 00:00.
This means I must remember to set them to the correct values each time I edit some other information in the event node, which is easy to miss.

CommentFileSizeAuthor
#3 small_numbers.patch1.72 KBmichael_kirk
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

michael_kirk’s picture

Component: Basic Event » Code

same here. Though it seems to only be the start time that suffers this.

michael_kirk’s picture

@demiurgus: did the times which gave you this problem happen to contain numbers less than 10?

eg. 9:00am or 12:08

I think it has something to do with treating small numbers as strings so as to get nice formating. eg. to display the time as 7:00 rather than 7:0. Somethings wrong here...

michael_kirk’s picture

Status: Active » Needs review
FileSize
1.72 KB

Try this patch. If you are having the same issue that I had, this should fix it. If not, let me know, and Ill create my own issue.

dingbats’s picture

Please check if this issue is related to #219119: Editing Event Start Time Hour Reset to 00.

japerry’s picture

Status: Needs review » Closed (outdated)

Event for Drupal 8 is unrelated to older versions. If an issue similar to this one exists, please open a new issue with the 8.x branch.