fixed: localization
This commit is contained in:
parent
08108a4a7a
commit
ebe4fbf5fb
@ -4,7 +4,7 @@
|
||||
<div class="flex flex-col gap-y-1 md:flex-row md:gap-y-0 md:gap-x-4 text-slate-500 dark:text-slate-300">
|
||||
{{- if .Date }}
|
||||
{{ $dateMachine := .Date | time.Format "2006-01-02T15:04:05-07:00" }}
|
||||
{{ $dateHuman := .Date.Format ($.Site.Params.DateFormatList | default "2006-01-02") }}
|
||||
{{ $dateHuman := .Date | time.Format ($.Site.Params.DateFormatList | default "2006-01-02") }}
|
||||
<div class="flex flex-row text-base gap-x-1">
|
||||
<i class="h-6 w-6 flex-none">
|
||||
{{ partial "icon.html" "calendar" }}
|
||||
|
Loading…
Reference in New Issue
Block a user