User timezone #5
Labels
No Label
Priority: Critical
Priority: High
Priority: Low
Priority: Medium
Status: Pending Merge
Status: Unitiliased
Status: WIP
Type: Bug
Type: Documentation
Type: Enhancement
Type: Feature
Type: Maintenance
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: LimnoriaPlugins/DoseLogs#5
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?
The previous edition used IANA timezones which had to be explicitly set so as to not spook folks by asking for their location which is used by worldtime anyway.
If user account exists check if the
worldtime
has been set for the hostmask associated with that nick/user.Usually here we’d default to UTC which is fine if we are saving the datetime value in UTC since the timezone info can be changed later and shall be applied to any query.
This won’t work well if you travel though.It is still better to associate a tzinfo with the utc datetime for every dose but then applying that for past doses is pointless.
it might be wise to detect the first use of such a command by a nick and pm them that they can reg/auth on the bot to ensure that the data isnt getting mangled due to nick fallback and also on how to set their tzinfo?