Common Date Formatting In Klaviyo
Klaviyo supports many filters for controlling the presentation of dates. These are accessed by adding the filter tag format_date_string
to your template, followed by the options on how to format the date. For example, formatting an ETA might look like {{ event.EstimatedPackageDelivery | format_date_string | date:'l, F, d' }}
to create "Monday, February 26".
A complete resource from Klaviyo on formatting dates is available.
February 26, 2023 |
|
26 February 2023 |
|
02-26-2023 |
|
26-02-2023 |
|
2/26/23 (no leading 0s) |
|
Monday, February 26 |
|
Feb 11 |
|
11 Feb |
|