Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add timezone to cron scheduler #204

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Graeme22
Copy link

Hi, thanks for this cool project!

I want to use SAQ for a trading app, where taking into account New York time (and DST) is very important. Currently there is no way to do this as far as I can tell, but it's a small change!
I am unfamiliar with unittest, so I may need some guidance making sure the tests work correctly here and adding new ones.

@tobymao
Copy link
Owner

tobymao commented Jan 25, 2025

hey @Graeme22, please write some tests in worker.py i'm not sure what kind of guidance you need

@Graeme22
Copy link
Author

hey @Graeme22, please write some tests in worker.py i'm not sure what kind of guidance you need

Mainly, I'm not sure why it's failing the current tests, I mocked datetime.now and it was failing sometimes and not others. I will upload the tests I was trying tomorrow.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants