Skip to content
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

Support time references relative to now #92

Open
dcastro opened this issue Aug 29, 2023 · 0 comments
Open

Support time references relative to now #92

dcastro opened this issue Aug 29, 2023 · 0 comments
Milestone

Comments

@dcastro
Copy link
Member

dcastro commented Aug 29, 2023

Clarification and motivation

We should be able to parse messages such as "in 2 hours" or "30 mins from now"

In most cases, it should be obvious to participants what time “2 hours from now” will be in their timezone, so there won't be a need to send out ephemeral messages.

However, if the offset is expected to change in the designated timezone between now and then, it might be useful to inform users of this, e.g.:

NOTE: _At 01:00, the clocks are turned backward 1 hour(s) to 00:00 in your timezone (Pacific/Marquesas)

"in 2 hours"

20:30, Monday, 28 August 2023 in Pacific/Marquesas

Acceptance criteria

  • when a message contains a time reference relative to now and the user will observe a clock change between now and then, we send them an ephemeral message.
@dcastro dcastro added this to the v1.1 milestone Sep 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant