The library assumes an English locale is used (e.g., English-language hardcoded month names). Ideally the library would use locale-dependent constants so that computations are done correctly (e.g., the duration of a month in month_and_day):
>>> locale.setlocale(locale.LC_ALL, 'it_IT')
'it_IT'
>>> picka.month()
'Marzo'
>>> picka.month_and_day()
'Maggio 2'
The library assumes an English locale is used (e.g., English-language hardcoded month names). Ideally the library would use locale-dependent constants so that computations are done correctly (e.g., the duration of a month in
month_and_day):