Skip to content
Snippets Groups Projects
Commit f606a9b3 authored by Albert Krewinkel's avatar Albert Krewinkel
Browse files

localize-date.lua: also localize page.heading.date

This ensures a unified presentation of dates.
parent 2e0c40ee
No related branches found
No related tags found
No related merge requests found
......@@ -12,6 +12,9 @@ function localize_date(date_meta)
end
function Meta (meta)
if meta.page and meta.page.heading and meta.page.heading.date then
meta.page.heading.date = localize_date(meta.page.heading.date)
end
meta.quality.received = localize_date(meta.quality.received)
meta.quality.accepted = localize_date(meta.quality.accepted)
meta.quality.published = localize_date(meta.quality.published)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment