format

defines the format of dates

string format;

Example

webix.ui({
    view:"comments",
    format:"%Y-%m-%d",
    data:"/data/comments",
    users:"/data/users"
});


Default value:

"%Y-%m-%d "%H:%i"
Details

It defines the format of incoming/saved dates. By default, it is taken from locale-based parseFormat.

To change the format of visible dates, use templateDate within the listItem config.

See also
Back to top