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

CommentFileSizeAuthor
#3 flexinode_wrongtime.patch698 bytesmatteo

Comments

usharf’s picture

I'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.

matteo’s picture

Assigned: Unassigned » matteo

Found 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 ??

matteo’s picture

Component: User interface » Code
StatusFileSize
new698 bytes

Here is the patch to test

jonbob’s picture

Matteo seems to have applied this already.

matteo’s picture

Yes, I applied the fix (sorry my CVS knowledge is not so big).
I hope I did not make any mistake...
Matteo

Anonymous’s picture