Toggle option in event.module admin for the submittal and display of events based on a 12-hour clock, rather than the current 24-hour clock. A 12-hour clock would also require AM/PM designations/options.

Comments

killes@www.drop.org’s picture

Priority: Major » Normal

=:-)

Just for the record:
I'm not gonna code it.

TDobes’s picture

Project: Drupal core » Event
Component: Other » User interface
killes@www.drop.org’s picture

Assigned: Unassigned » killes@www.drop.org

Neil wrote on Drupal-devel:

Drupal can already display the time in 12 hour format, just set the date formats for the site in administer>configuration. There is no need to handle that in a nonstandard way in the event module.

I therefore mark this as "won't fix".

jonbob’s picture

Yes, Drupal can display 12-hour times, but the submission form remains in 24-hour format in all cases. The wontfix was premature.

killes@www.drop.org’s picture

Title: Event.module: 12 Hour Clock » Event.module: 12 Hour Clock - more general date submission form

Ok, I changed the subject to reflect what is really needed.

I think that we maybe could use some general date parser that looks at the date text that a user added during node_validate.
strtotime might be a function to look at.

sdondley’s picture

I added a patch to fix this to the Drupal 'contributions/for_review'. It does the job but could probably be better integrated into the Drupal core by someone who is more familiar with it.

killes@www.drop.org’s picture

I applied a patch by Steve a couple of days ago.

Anonymous’s picture