Page MenuHomePhabricator

IABot date formatting problem in Cantonese
Closed, ResolvedPublic

Description

The latest deployment of InternetArchiveBot seems to have started converting English dates in citations in Cantonese Wikipedia by substituting the month name rather than converting into a valid Cantonese date format. (Example)

I've tried removing the English-style date formatting strings on the IABot runpage but to no avail.

When IABot encounters a valid English date string ("27 Aug 2020", "27 August 2020", "Aug 27, 2020" etc), it should either:

  • Replace the whole string with a Cantonese date string (2020年8月27號) or ISO date (2020-08-27); or
  • Leave the whole date string untouched.

And not substitute the month name into Cantonese.