You normally will change the date with the metadata manager, this article is informational.
This page describes the date string formats supported by ComboStrap.
Combostrap understands all the following string format as date:
YYYY-MM-DDTHH:MM:SS+hh:mm // iso 8601 format
YYYY-MM-DD HH:MM:SS+hh:mm // timestamp format
YYYY-MM-DD HH:MM:SS
YYYY-MM-DD HH:MM
YYYY-MM-DD HH
YYYY-MM-DD
where:
You can use any of this format in a pipeline to format a literal date
Example:
${"2022-05-23" | format()}
Monday, May 23, 2022
When combostrap stores a date, it writes it in the below iso 8601 format.
YYYY-MM-DDTHH:MM:SS+hh:mm
All date (created, modified, published, start/end date) are written/stored in this format as string.
You will find them back in this format:
{
"date_published":"2021-03-15"
}
{
"date_published":"2021-03-15 10"
}
The dates are all located in the timezone of your server
For instance, a date with the Europe/Paris timezone.
{
"date_published":"2021-03-15 10:00:00+01:00"
}