Skip to content

Latest commit

 

History

History
54 lines (37 loc) · 1013 Bytes

File metadata and controls

54 lines (37 loc) · 1013 Bytes
title date published publish_date template visible summary taxonomy
email template recipes
17-02-2016
true
17-02-2016
tutorial
true
enabled format size
true
short
128
migration_status category tag
done
docs

[TOC]

Date format

Issue

Dates are not formatted like they should

Solution

Option 1

Dates are formatted according to the server configuration.

Please adjust the "locale" setting of your server, you will find more information on php.net/strftime

Option 2

Thanks to the Smarty Date-Modifiers you can tweak the dates to your needs, e.g.:

{$coupon_expire|date_format:"%A, %B %e %Y"}

outputs

Monday, 1. December 2021

You find more information on Smarty Date-Modifiers.