Date format
Sometimes an client requests that date is displayed in a unique format. This can be achieved via date format configuration option in the webapp manifest.
Default date format:
DD/MM/YYYY
Example webapp manifest
date_format
accepts string values. Respective keywords are replaced with date values upon output. All other characters are left unchanged.
Key | Example | Description |
---|---|---|
DD |
| Day of the month, 2 digits with leading zeros |
D |
| Day of the month without leading zeros |
MM |
| Numeric representation of a month, with leading zeros |
M |
| Numeric representation of a month, without leading zeros |
YYYY |
| A full numeric representation of a year, 4 digits |
HH |
| 24-hour format of an hour with leading zeros |
mm |
| Minutes with leading zeros |
ss |
| Seconds with leading zeros |
SSS |
| Milliseconds, 3 digits with leading zeros |
Last updated