Use local_time gem for timezone replacement (#2174)

For the 'time ago' value of stream entry simple statuses and the timestamp value
of detailed statuses - output their UTC value and use the browser timezone to
convert locally.
This commit is contained in:
Matt Jankowski
2017-04-21 12:19:59 -04:00
committed by Eugen
parent 5c9aa2b732
commit 452dc6b5fe
5 changed files with 14 additions and 2 deletions

View File

@ -35,6 +35,7 @@ gem 'http_accept_language'
gem 'httplog'
gem 'kaminari'
gem 'link_header'
gem 'local_time'
gem 'nokogiri'
gem 'oj'
gem 'ostatus2', '~> 1.1'