Even after the patch in this issue, I still had the same 12/24 hour issue with jscalendar.module. For me, the fix was to add the following right before the $node->{$prefix . 'hour'} line:
if (variable_get('event_ampm', '0')) {
$node->{$prefix . 'ampm'} = (substr($this_date, 11, 2) >= 12) ? 'pm' : 'am';
}
I'm at work right now so can't roll a proper patch, but I'm opening this and assigning it to myself as a reminder to do so unless someone wants to beat me to it. :-)
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | jscalendar_ampm.patch.txt | 866 bytes | Crell |
Comments
Comment #1
Crell commentedAnd here's a real patch.
Comment #2
t4him commentedCrell,
I had the EXACT same issue. This patch "RESOLVED" the problem. This Patch is ready to commit.
Thanks
Comment #3
killes@www.drop.org commentedapplied
Comment #4
(not verified) commented