I've installed the events module and I have 12-hour time format selected in the controls but I'm still getting the 24-hour time format. Can anyone tell me what I need to do to get this into 12-hour format? Great module! Just need that small part working. Thanks!

Comments

meximese@drupal.org’s picture

Version: 4.7.x-1.x-dev » 5.x-1.x-dev

I too am having a problem with 12 and 24 hour input. Event is set to 12 hour notation, but inputting formats back to 24 hour notation.
I just now disabled jscalendar to test the functionality and Event works correctly.

Without jscalendar activated Event handles 12/24 notation correctly.
When jscalendar is active two things happen:

  1. The Event time format on input is in 24 hour notation.
  2. While creating an event adjusting the jscalendar time correctly changes the 24 hour Event notation, however after submittal the time is then processed as the incorrect 12 hour time. Example: setting a time of 5pm in jscalendar shows 17:00. After submittal it incorrectly shows 5am.

Would this be an Event problem or a jscalendar problem?

meximese@drupal.org’s picture

To add to the above info, I am using:
event.module,v 1.215.2.5
jscalendar.module,v 1.15

HorsePunchKid’s picture

Category: support » bug
Status: Active » Closed (duplicate)

I'm pretty sure this is fixed in the 5.x-2.x-dev version, though I think it's not ready for production use yet. There's an easy fix here.