Dates final class
Minn\Blocks\Dynamic\Dates · public/minn/src/Minn/Blocks/Dynamic/Dates.php · 15 lines
Site-local dates the way the dynamic blocks print them.
Public
| static | iso(Minn\Content\Site $site, string $local): string# | ISO 8601 with the site's offset at that date (summer or winter time), from a site-local MySQL datetime. |
| static | format(Minn\Content\Site $site, string $local, string $format = ''): string# | A site-local MySQL datetime in the format given, else the date_format option, in the site's language. |
Nothing matches.