fix(post_meta): format date tooltip as ISO 8601

closes #1865
This commit is contained in:
Aditya Telange committed 2026-10-18 20:46:39 +05:30
1 parent 60eababe10
commit 969bebdc56
1 file changed
+1 -1
+1 -1
View File
@@ -1,7 +1,7 @@
{{- $meta := slice }}
{{- if not .Date.IsZero -}}
{{- $meta = $meta | append (printf "<span title='%s'>%s</span>" (.Date) (.Date | time.Format (default ":date_long" site.Params.DateFormat))) }}
{{- $meta = $meta | append (printf "<span title='%s'>%s</span>" (.Date | time.Format "2006-01-02T15:04:05-07:00") (.Date | time.Format (default ":date_long" site.Params.DateFormat))) }}
{{- end }}
{{- if (.Param "ShowReadingTime") -}}