Template:Countdown/sandbox: Difference between revisions
Appearance
Taking the number of days out of the if-true and if-false; removed previous debugging test |
mNo edit summary |
||
| (21 intermediate revisions by the same user not shown) | |||
| Line 3: | Line 3: | ||
<!-- No active debugging tests --> | <!-- No active debugging tests --> | ||
'''{{#expr: ceil( | <!-- Days --> | ||
'''{{#expr: | |||
ceil( | |||
{{timeDiff|{{{end-date}}}|{{{end-time}}}|{{{utc-offset}}} }} / 86400 | |||
) | |||
}}''' | |||
{{#ifeq: | {{#ifeq: | ||
{{#expr: ceil | {{#expr: | ||
{{ | ceil( | ||
{{timeDiff|{{{end-date}}}|{{{end-time}}}|{{{utc-offset}}} }} / 86400 | |||
) | |||
}} | 1 | |||
| day | | day | ||
| days | | days | ||
}} | }} | ||
</div | </div></includeonly> | ||