miguelgrinberg / Flask-SocketIO-Chat

A simple chat application that demonstrates how to structure a Flask-SocketIO application.
http://blog.miguelgrinberg.com/post/easy-websockets-with-flask-and-gevent
MIT License
676 stars 242 forks source link

Add automatic timezone-aware timestamps to chat #46

Closed supercoder-dev closed 3 months ago

supercoder-dev commented 4 months ago

Implemented UTC-based timestamps with client-side conversion for accurate local time display across all timezones.

miguelgrinberg commented 3 months ago

I have added the timestamps in a much simpler way. There is really no need for Python to send the time to each client, the clients can just show the current time themselves.