跳至內容

模板: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