-
Notifications
You must be signed in to change notification settings - Fork 1
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
Inconsistency in date/times #27
Labels
enhancement
New feature or request
Comments
Hmmm. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When I add a job from outside the Dashboard I use simple datetimes in UTC:
However, when I update the job after completion, the time to pass is ... different! This wonderful construct works:
This appears to be because the code in Job (models.py) is this
Which seems to be 1000 times a timestamp. I presume this has something to do with the Web side of things, but it is certainly awkward for the job side. Would it be possible to check the type of the value
v
and use as-is if it is adatetime
? Would a UTC datetime then give a reasonable time in the Web page?The text was updated successfully, but these errors were encountered: