User timezone #5

Open
opened 2021-10-23 12:15:43 +02:00 by pratyush · 0 comments
Owner

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?

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?
pratyush added the
Type: Enhancement
Priority: Critical
Status: Unitiliased
labels 2022-02-26 16:18:38 +01:00
pratyush removed the
Priority: Critical
Type: Enhancement
Status: Unitiliased
labels 2023-05-05 11:33:31 +02:00
Sign in to join this conversation.
No description provided.