Skip to content
GitLab
About GitLab
GitLab: the DevOps platform
Explore GitLab
Install GitLab
How GitLab compares
Get started
GitLab docs
GitLab Learn
Pricing
Talk to an expert
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Projects
Groups
Snippets
Sign up now
Login
Sign in / Register
Toggle navigation
Menu
Open sidebar
Ambroise
template_rabenwetter
Commits
0923e7f9
Commit
0923e7f9
authored
Nov 25, 2018
by
Ambroise
Browse files
Update amonth-YYYY-MM.json.tmpl because it was not doing the loop on all month in the year
parent
47280b59
Changes
1
Hide whitespace changes
Inline
Side-by-side
dist.en/archive/amonth-YYYY-MM.json.tmpl
View file @
0923e7f9
#import datetime
#encoding UTF-8
#for $m in $year.months
[
#for $d in $m
onth
.days
#for $d in $m.days
{ "dateTime": "$d.dateTime.format("%d.")",
#if $d.inTemp.avg.formatted != "0"
"inTemp": $d.inTemp.avg.formatted.replace(",", "."),
...
...
@@ -66,3 +67,4 @@
#end for
{}
]
#end for
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment