date/time format
gadehans - January 31, 2008 - 20:14
| Project: | Event with volunteer time slots |
| Version: | 5.x-1.0 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | postponed (maintainer needs more info) |
Jump to:
Description
In the Event volunteer schedule the time-format doesn't follow the time-format of the system

#1
Certainly possible. Where are you seeing this exactly? In the rendered node?
#2
Confirmed, module isn't respecting site time format. I have time set up fo 24h format, but this module shows time slot in 12h format in rendered node. Can this be changed?
#3
hmm, I don't recall why, but seems like it's hardcoded in function _timeslots_signup_form($node, $admin).
e,g,:
$form['timeslot'][$slot]['start_time'] = array('#value' => format_date($data['start_time'], 'custom', 'g:i a', $node->start_offset),
);
#4
Thanks for a hint. I just changed "g:i a" (12hr time schema) to "G:i" (24hr time schema). I found three places, where this has to be changed. No problem,