Page MenuHomePhabricator

e85bot / Tvpmelder does not work in all months
Closed, ResolvedPublic

Description

Possibly a localization issue: 'jan'(uari/uary) is the same, but 'mar'ch and 'maa'rt are different. As such, the bot only works in

jan[uari|uary]
feb[ruari|ruary]
apr[il]
jun[i|e]
jul[i|y]
aug[ustus|ust]
sep[tember]
nov[ember]
dec[ember]

and not in mar/may/oct.


Version: unspecified
Severity: normal

Details

Reference
bz66347

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:09 AM
bzimport added a project: Tool-nlwikibots.
bzimport set Reference to bz66347.
bzimport added a subscriber: Unknown Object (MLST).
Akoopal closed this task as Resolved.Aug 1 2015, 10:30 PM
Akoopal claimed this task.
Akoopal added a subscriber: Akoopal.

Fixed by setting the locale in the script:

locale.setlocale(locale.LC_ALL, 'nl_NL.UTF-8')