sakurai-youhei / python-shukujitsu

Python Japanese holidays library based on static data published by Cabinet Office, Government of Japan
MIT License
0 stars 0 forks source link

datetime.strptime("20200320", "%Y%m%d") in holidays becomes False but should be True #4

Closed sakurai-youhei closed 3 years ago

sakurai-youhei commented 3 years ago
from datetime import datetime
import shukujitsu

holidays = shukujitsu.Japan()

assert "20200320" in holidays
assert datetime(2020, 3, 20, 0, 0) in holidays