matterhorn-50200.12.0: Terminal client for the Mattermost chat system
Safe HaskellNone
LanguageHaskell2010

Matterhorn.Draw.Util

Synopsis

Documentation

insertDateMarkers :: Messages -> Text -> TimeZoneSeries -> Messages Source #

Generates a local matterhorn-only client message that creates a date marker. The server date is converted to a local time (via timezone), and midnight of that timezone used to generate date markers. Note that the actual time of the server and this client are still not synchronized, but no manipulations here actually use the client time.