-
-
Notifications
You must be signed in to change notification settings - Fork 102
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
ENH: Optional Timezone #147
Conversation
Codecov ReportBase: 94.90% // Head: 95.20% // Increases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## master #147 +/- ##
==========================================
+ Coverage 94.90% 95.20% +0.29%
==========================================
Files 80 80
Lines 4515 4630 +115
==========================================
+ Hits 4285 4408 +123
+ Misses 230 222 -8
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
New config option "time_func" and also now the custom time should be propagated to processes as well. Required wrapping the logger method for creating log records.
This PR implements custom timezones and custom time measurement function (for testing).
Set the timezone:
Set the time:
Other changes:
last_run
,last_success
etc. are not in the JSON representation of a task anymore due to limitations in Pydantic.Further Idea
Perhaps in the future we could have something like:
Not sure.