dwyl / dwyl/chat

Make sure time is based on user's timezone

Open
#39 2 comments 1 reaction 0 assignees View on GitHub
Dominant language
Elixir
Stars
65
Forks
8
PR merge metrics
No merged PRs in 30d

Description

@finnhodgkin and I have been discussing how time will work in this app.

If the time that the message is sent is set on the server in UNIX time, then how can we make the front end of the app interpret that based on timezone?

As a related point, if we are setting the time on the server, how does this work if we want to have a "fully private" functionality (where the server is only used to connect two users over WebRTC, then the chat logs are saved only in localstorage, but the messages never go to the server), do we then set the time from the front end, and if so, how consistent is that?

For me, this is spike territory, I'm not sure how time works in Elm/Phoenix so would be important to learn.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.