[TYPO3-project-formidable] Problem inserting date into database

Sigurður E. Vilhelmsson s.vilhelmsson at gmail.com
Sat Aug 23 11:06:00 CEST 2008


Isn't there someone out there that might be able to point me in the
right direction?

Best regards,
Sigurdur

2008/8/21 Sigurður E. Vilhelmsson <s.vilhelmsson at gmail.com>:
> Hi all,
>
> I'm hooked on Formidable and have been playing around with it for a
> few days. However, I have a big problem with inserting dates into the
> database.
>
> I have a form with the following renderlet:
>
> <renderlet:DATE name="brottfor" label="Æskilegur brottfarardagur">
>       <data>
>               <datetime format="%d/%m/%Y" locale="is_IS"/>
>       </data>
>       <validators>
>               <validator:STANDARD>
>                       <required message="Brottfarardag vantar" />
>               </validator:STANDARD>
>       </validators>
> </renderlet:DATE>
>
> I've localized the calendar.js with a calendar-is.js file.
>
> The corresponding database field is of the type Datetime.
>
> When I submit the form, the field validates OK, all other fields are
> inserted in the database, but the datetime field has the entry
> 0000-00-00 00:00:00.
>
> Any ideas as to how to begin troubleshooting this?
>
> Best regards,
> Sigurdur
>


More information about the TYPO3-project-formidable mailing list