Closed (fixed)
Project:
Event
Version:
5.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
8 Feb 2007 at 22:41 UTC
Updated:
3 May 2007 at 17:33 UTC
I have not had the time to diagnose exactly what's going wrong, but with the HEAD version of event.module and both the HEAD and last version of jstools, dates are mangled somewhere in the form submission process.
Specifically, I can select a date with JSCalendar, and the resulting date in the form input (in %Y-%m-%d %H-%M-%S format) is correct. On submission, though, a time like 18:30 will just end up as 06:30 in the database. I suspect the problem is in the chunk of JSCalendar-specific code around line 1532, but I haven't debugged it yet.
Comments
Comment #1
P00595 commentedIt appears to work properly if the line:
is changed to:
Comment #2
HorsePunchKid commentedI can confirm that that's fixed it for me, too. Thank you very much, good sir. In patch format:
Comment #3
killes@www.drop.org commentedApplied, please attach patches next time.
Comment #4
tormiKilles, applied solution reopened another already fixed issue (http://drupal.org/node/71055)..
Tormi
Comment #5
killes@www.drop.org commentedThanks, reverted this patch.
Guess we need to distinguish between ampm and normal mode.
Comment #6
HorsePunchKid commentedI have just tested this on the CVS head, along with a Postgres support patch, and I wasn't able to reproduce the problem.