BotBotMe / botbot-web

Web interface for BotBot.me
https://lincolnloop.com/blog/saying-goodbye-botbotme/
Other
152 stars 32 forks source link

plain text log endpoint and timezone cleanup #145

Closed ipmb closed 9 years ago

ipmb commented 9 years ago

Timezones were all messed up. Some effort was made to clean that up. Still WIP.

ipmb commented 9 years ago

The more I dug, the more I found issues with our timezone handling. This simplifies things a bit by always returning UTC times from the server. The front-end will convert all times that get served to localtime.

Links to the start of a day in the local timezone can still be created by adding something like tz=America/Denver. This allows the timeline sidebar to work as expected for users.

Finally, I attempted to clean up and separate the CBVs a bit. They're a bit of a mess and difficult to work with.