DATETIME fields and NULL values (or 0000-00-00 00:00:00) inside FUEL form_fields

edited September 2011 in Bug Reports
Hello there, not sure if it's a bug or maybe i did something wrong.
Anyway, I have set up a couple of optional datetime fields for a model. They end with '_date' and in fact the create / edit form picks them up with the date / time picker. All is good, but if I leave these fields empty (ie i dont pick any date or time) and then i save the entry, these fields will display 4:00pm :


(http://i.imgur.com/2Z2Y6.png)

The strange thing is that the row in the db holds the correct default value, ie 0000-00-00 00:00:00 ...
what can this be? Am I the only one getting this?
ps i'm on 0.9.3

Comments

Sign In or Register to comment.