模板:Age in months/testcases

测试 1

{{Age in months|1970|7|23|2003|7|14}}
{{Age in months|1970|7|23|2003|7|14}}
左右对比
{{Age in months}}{{Age in months/sandbox}}
395 395
{{Age in months|1989|7|23}}
  • {{Age in months|1989|7|23}} → 423
  • {{Age in months/sandbox|1989|7|23}} → 423
  • Expected: 385 (as of 2021)
{{Age in months|23 July 1989}}
  • {{Age in months|23 July 1989}} → <strong class="error">表达式错误:无法识别词语“july”。</strong>
  • {{Age in months/sandbox|23 July 1989}} → 423
  • Expected: 385 (as of 2021)
{{Age in months|26 July 2021|25 August 2021}}
{{Age in months|26 July 2021|25 August 2021}}
左右对比
{{Age in months}}{{Age in months/sandbox}}
<strong class="error">表达式错误:无法识别词语“july”。</strong> 0