mirror of
https://github.com/nsupdate-info/nsupdate.info.git
synced 2026-04-25 16:45:55 +03:00
[GH-ISSUE #63] localtime usage #61
Labels
No labels
bug
bug
duplicate
easy
easy
enhancement
enhancement
invalid
needs help
pull-request
scalability
security
task
urgent
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/nsupdate.info-nsupdate-info#61
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ThomasWaldmann on GitHub (Oct 26, 2013).
Original GitHub issue: https://github.com/nsupdate-info/nsupdate.info/issues/63
Host.poke uses datetime.now() which is local time.
Check if it shouldn't rather be datetime.utcnow() which is utc.
the local time on the server is usually the wrong thing and irrelevant for users in other timezones, so server apps should use utc internally usually.
not sure how django and the other code processes this value though, so check first.
@ThomasWaldmann commented on GitHub (Oct 27, 2013):
fixed by
a210936dcf