You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The reason will be displayed to describe this comment to others. Learn more.
I getting 'zoneinfo.ZoneInfo' object has no attribute 'normalize' right now when celery beat scheduler is starting, could be this related to this change ?
django_celery_beat/tzcrontab.py in nowfunc at line 31
day_of_month=day_of_month,
month_of_year=month_of_year, nowfun=nowfun, app=app
)
def nowfunc(self):
return self.tz.normalize(
pytz.utc.localize(datetime.utcnow())
)```
but when I trying to test it works :thinking:
another error `zoneinfo._common.ZoneInfoNotFoundError: 'No time zone found with key Pacific/Kanton'`
3b2fc99
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I getting 'zoneinfo.ZoneInfo' object has no attribute 'normalize' right now when celery beat scheduler is starting, could be this related to this change ?
3b2fc99
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
code might need adjustment