Localize timezones #1
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Reference: iou1name/anonkun#1
Loading…
Reference in New Issue
Block a user
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?
Make the application use the user's timezone for strftime conversions, not the server's timezone. The chat timestamps might already be doing this? Get some yuropoor to confirm this.
Possible methods:
Use javascript to get the client's local timezone offset and send a server request to set the offset in the session cookie, similar to how
hide_header
is done now. This would only be done if the offset is not already set.Use a geoip database to find the IP's timezone, possible using the
geoip2
library on pypi. This would give the additional benefit being able to gather unsolicited telemetry data and possibly make one of those fancy "X many users from Y countries" maps. Negative is that IP addresses are less reliable than just asking the client for it's timezone.Closing this because this repository is deprecated in favor of https://git.steelbea.me/iou1name/Titivillus (which is also dead).