ajout arrondi calcul date
This commit is contained in:
parent
17d132ffa2
commit
2c11d3e4f3
1 changed files with 1 additions and 3 deletions
|
@ -16,6 +16,4 @@
|
||||||
{{:assign nbjours="-1*%d"|math:$nbjours}}
|
{{:assign nbjours="-1*%d"|math:$nbjours}}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{* pour simplifier : 360 jours par an *}}
|
{{* pour simplifier : 360 jours par an *}}
|
||||||
{{if $nbjours > 360}}
|
{{:assign nbjours="round(%f/365*360)"|math:$nbjours}}
|
||||||
{{:assign nbjours=360}}
|
|
||||||
{{/if}}
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue