Date field: value "0000-00-00" displayed as "30-11--0001"

Status
Not open for further replies.

Roland

Member
Hi,
my date fields are defined as "date" format in the database. Not "datetime", the standard value is "0000-00-00".
The bootstrap forms show date fields with value "0000-00-00" as "30-11--0001".
When I save the form, the value "30-11-2001" is getting saved.
If I pick a value from the calender or write a date into the field it gets saved the correct way. Only the standard values work the wrong way in my case.
For display list and form I defined German format d-m-Y. But I get the same result when I change to Y-m-d.

In the screenshots there are three date fields:
  • The element form shows definition of field "Mahnung"
  • The second screenshot show Mahnungsdatum as "30-11--0001" although the value is "00-00-0000"
    When I save the form Mahnungsdatum will be saved as "30-11-2001"
I work with Joomla 3.2.2 and recently updated fabrik from 3.1RC2 to fabrik 3.1
The behavior was the same in the version 3.1RC2
 

Attachments

  • fabrik_define1.jpg
    fabrik_define1.jpg
    51.8 KB · Views: 684
  • fabrik_form1.jpg
    fabrik_form1.jpg
    12 KB · Views: 698
Status
Not open for further replies.
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top