Wrong date in element type "Date"

sergio

New Member
Hi all,
in my site I've some element "Date" type it always works perfectly, but recently (I think after the svn revision 868) don't works:
whatever date I select in calendar it write into database 1970-01-01 :eek:
I attach with this post some stamp of this error, and you can test it in http://test.enneuno.it/univ/index.php?option=com_fabrik&Itemid=35 (add new record, modify ecc...)

please help me...

tnxxx all

Sergio
 

Attachments

  • date_error.doc
    221.5 KB · Views: 272
Can you PM me a backend login?

We did indeed make some fairly sweeping changes to the calendar stuff recently, to fix a problem we'd had for ages with the 'widget' not supporting different date formats properly. I think you may have run in to an issue with the format you are trying to use ...

-- hugh
 
OK, I think I've fixed this in the most recent SVN. We were still importing the old calendar javascript on the backend, which doesn't use the same format strings as the new version.

Please upgrade, and let me know if this fixes it.

-- hugh
 
Results...

Hi Hugh,
I've just test with the last svn and now it works if I leave as date format Y-m-d, but if I change it in d-m-Y when a record is insert it write in db 1970-01-01 00:00!
It's a problem of date format...

sergy
 
Usage

however,
now I can use a solution for this:
2 tables, the first for the db updating or add records with the date format Y-m-d, the second table only for visualization with the date format d-m-Y
;)

hi
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top