datetime field not updated on db

datetime field not updated on db

javismilesjavismiles Posts: 205Questions: 38Answers: 3

im declaring a field as Datetime like this

fieldobj[index]  = {
            label: obj.d,
            name:  obj.i,
            className: obj.c,   
            type:  "datetime",
            def:       function () { return new Date(); },
            format:    'MM-DD-YYYY h:mm A',
            fieldInfo: 'Euro style date with 24 hour clock' 
        };

I also included moment.min.js

I have no errors, but when I inline edit that field, yes I select new date etc, but value is then not updated on database,
not at all, and no errors, help please :)

Answers

  • javismilesjavismiles Posts: 205Questions: 38Answers: 3

    the formatting was wrong, we can close this, thank u

This discussion has been closed.