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. :-)

CommentFileSizeAuthor
#1 jscalendar_ampm.patch.txt866 bytesCrell

Comments

Crell’s picture

Status: Active » Needs review
StatusFileSize
new866 bytes

And here's a real patch.

t4him’s picture

Crell,
I had the EXACT same issue. This patch "RESOLVED" the problem. This Patch is ready to commit.

Thanks

killes@www.drop.org’s picture

Status: Needs review » Fixed

applied

Anonymous’s picture

Status: Fixed » Closed (fixed)