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.
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
Comment #1
killes@www.drop.org commented=:-)
Just for the record:
I'm not gonna code it.
Comment #2
TDobes commentedComment #3
killes@www.drop.org commentedNeil 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".
Comment #4
jonbob commentedYes, Drupal can display 12-hour times, but the submission form remains in 24-hour format in all cases. The wontfix was premature.
Comment #5
killes@www.drop.org commentedOk, 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.
Comment #6
sdondley commentedI 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.
Comment #7
killes@www.drop.org commentedI applied a patch by Steve a couple of days ago.
Comment #8
(not verified) commented