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.
这个提交包含在:
Matt Jankowski
2017-04-21 12:19:59 -04:00
提交者 Eugen
父节点 5c9aa2b732
当前提交 452dc6b5fe
共有 5 个文件被更改,包括 14 次插入2 次删除

查看文件

@ -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'