Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
J
journal-configuration
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Hamburg Open Science
Modernes Publizieren
Projekteinsichten für die interessierte Öffentlichkeit
Software
Configurations
journal-configuration
Commits
f606a9b3
Commit
f606a9b3
authored
4 years ago
by
Albert Krewinkel
Browse files
Options
Downloads
Patches
Plain Diff
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lua/localize-date.lua
+3
-0
3 additions, 0 deletions
lua/localize-date.lua
with
3 additions
and
0 deletions
lua/localize-date.lua
+
3
−
0
View file @
f606a9b3
...
...
@@ -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
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment