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:
parent
5c9aa2b732
commit
452dc6b5fe
5 changed files with 14 additions and 2 deletions
1
Gemfile
1
Gemfile
|
@ -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'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue