Mercurial > kallithea
diff scripts/whitespacecleanup.sh @ 8168:7d5dfe117d0f
summary: use calendar.monthrange instead of internal calendar.mday
Fix pytype warning:
No attribute 'mdays' on module 'calendar' [module-attr]
This also takes care of handling leap-years correctly. Not that it matters, but
very nice ...
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Tue, 04 Feb 2020 02:58:53 +0100 |
parents | 0288dd052033 |
children | abb83e4edfd9 |