Closed (fixed)
Project:
Event
Version:
4.7.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Reporter:
Created:
1 Dec 2006 at 21:36 UTC
Updated:
2 Apr 2007 at 16:31 UTC
Jump to comment: Most recent file
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