Closed (fixed)
Project:
Event
Version:
5.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
29 May 2007 at 22:49 UTC
Updated:
3 Jul 2012 at 22:00 UTC
Jump to comment: Most recent file
If you choose 12pm as your start or end time, the entire start or end date and time turns to all zeros.
Michelle
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | fixnoon.patch | 563 bytes | michelle |
Comments
Comment #1
michelleFound and fixed the problem but toddler is acting up... Will post the fix in a little while.
Michelle
Comment #2
michelleOk, here's the fix. I'm setting this as a patch even though it's not really a patch. I'll try to learn how to make patches soon so I can attach real patch files. In the mean time, this is the code that needs changing.
In function event_nodeapi:
I added the " && $node->start_hour < 12" part. The problem is that 12 pm was getting change to 24, which blew everything up. Adding that extra test keeps it from adding 12 to 12.
Michelle
Comment #3
michelleOk, having a go at a patch.
Michelle
Comment #4
killes@www.drop.org commentedI've committed different patch, can you check whther this issue is now fixed for you? Please change status as appropriate.
Comment #5
michelleTested. Your patch fixed it.
Michelle
Comment #6
(not verified) commentedComment #7
dga5000 commented