Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Info

The following rules are applicable for both form fields and grid cellscolumns.

 

The default format for date/datetime fields in Form/columns in Grid is the one specified in the PASOE configuration file, in these fields:

  • globalDateFormat - %d.%m.%Y
  • globalDateTimeFormat - %d.%m.%Y %H:%i

For displaying dates, there are datefields in Form/Grid which have an attached Datetimepicker to them on the left side.

...

There are two attributes for these fields that are important: DATA-TYPE and extendedFormat.

DATA-TYPE attribute

Specifies if the field is ‘date’ or ‘datetime’. The accepted values are ‘date’ for date and ‘datetime-tz’ for datetime.

extendedFormat attribute

A custom format can be specified by setting the ‘extendedFormat’ attribute in the corresponding field. If the attribute is set, it will overwrite the default values (the ones specified in the PASOE configuration file).

...