2020-04-10 18:24:36 +00:00
|
|
|
<!--
|
|
|
|
Returns formatted date.
|
|
|
|
Usage: partial "docs/date" (dict "Date" .Date "Format" .Site.Params.BookDateFormat)
|
|
|
|
-->
|
|
|
|
{{- $format := default "January 2, 2006" .Format -}}
|
2024-05-18 10:48:43 +00:00
|
|
|
{{- return (time.Format $format .Date) -}}
|