ajout arrondi calcul date
This commit is contained in:
parent
17d132ffa2
commit
2c11d3e4f3
@ -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…
Reference in New Issue
Block a user