get_report can't compare datetime.datetime to datetime.date
benjaminharv opened this issue · comments
Assuming the get_report documentation is correct, this should be working.
import myfitnesspal
import datetime
client = myfitnesspal.Client()
may = datetime.date(2022, 5, 1)
june = datetime.date(2022, 6, 1)
report = client.get_report("Weight", "Progress", may, june)`
in get_report if not upper_bound >= date >= lower_bound: TypeError: can't compare datetime.datetime to datetime.date
Am I doing something wrong?