Skip to content

Update ETA example to include timezone#8516

Merged
Nusnus merged 3 commits intocelery:mainfrom
amantri:main
Sep 18, 2023
Merged

Update ETA example to include timezone#8516
Nusnus merged 3 commits intocelery:mainfrom
amantri:main

Conversation

@amantri
Copy link
Contributor

@amantri amantri commented Sep 18, 2023

The behavior when using timezone unaware datetime objects can be incorrect.

For a Redis broker running on the same machine as my Celery queue, I got incorrect scheduling when using naive datetime objects. Setting the timezone explicitly fixed the issue.

The behavior when using timezone unaware datetime objects can be incorrect.

For a Redis broker running on the same machine as my Celery queue, I got incorrect scheduling when using naive datetime objects. Setting the timezone explicitly fixed the issue.
@amantri amantri marked this pull request as ready for review September 18, 2023 19:02
@Nusnus Nusnus merged commit 06a378f into celery:main Sep 18, 2023
@auvipy auvipy added this to the 5.3.x milestone Sep 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants