Rather using Monday const from built-in calendar.py (#791)

Latest version of holidays (0.9.9) changed the name of its MONDAY const
to MON. Rather using the MONDAY const from the same library as the
object that it is being used with.
This commit is contained in:
Gordon Inggs 2019-01-08 02:22:31 +02:00 committed by Ben Letham
parent 4345a90427
commit aebe8da78d

View file

@ -9,11 +9,11 @@
from __future__ import absolute_import, division, print_function
import warnings
from calendar import Calendar
from calendar import Calendar, MONDAY
from datetime import date, timedelta
from convertdate.islamic import from_gregorian, to_gregorian
from holidays import MONDAY, WEEKEND, HolidayBase, easter, rd
from holidays import WEEKEND, HolidayBase, easter, rd
from lunardate import LunarDate