mirror of
https://github.com/saymrwulf/prophet.git
synced 2026-06-03 23:49:47 +00:00
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:
parent
4345a90427
commit
aebe8da78d
1 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue