Closed (fixed)
Project:
Flexinode
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
15 Jul 2004 at 12:40 UTC
Updated:
30 Sep 2004 at 16:20 UTC
Jump to comment: Most recent file
Trying the module I found a problem in the user interface.
I use 24h format in event module (i saw you check for its settings); if I choose '21' as hour for a datetime field, it is translated into '9' if validation of any field in the form fails.
If it does not fail, '21' is correctly saved.
Module is v 1.7.4.7
thanks, and compliments for the wonderful module...
Matteo
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | flexinode_wrongtime.patch | 698 bytes | matteo |
Comments
Comment #1
usharf commentedI've seen a similiar problem with the event module itself on my site. I have 24hr enabled, and when I preview an event just before posting and evety time I edit and save it, the time is allwyas reset to 12hrs format.
Comment #2
matteo commentedFound where the problem is.
In file 'field_timestamp.inc' do the following change:
$hour_format = 'G'; // instead of 'h' MATTEO
That's all !!
Matteo Ferrari
P.S. I don't know how to apply the patch to the code. Can someone take care of it ??
Comment #3
matteo commentedHere is the patch to test
Comment #4
jonbob commentedMatteo seems to have applied this already.
Comment #5
matteo commentedYes, I applied the fix (sorry my CVS knowledge is not so big).
I hope I did not make any mistake...
Matteo
Comment #6
(not verified) commented