about summary refs log tree commit diff
path: root/app/assets
diff options
context:
space:
mode:
authorMatt Jankowski <mjankowski@thoughtbot.com>2017-04-21 12:19:59 -0400
committerEugen <eugen@zeonfederated.com>2017-04-21 18:19:59 +0200
commit452dc6b5fee576994c26139889d225db4acaeefc (patch)
treec1039320591e1e53b65af3074b47cd8765e88c8e /app/assets
parent5c9aa2b7329fe5bd87cee583e33c7b5c1eac4566 (diff)
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.
Diffstat (limited to 'app/assets')
-rw-r--r--app/assets/javascripts/application_public.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/assets/javascripts/application_public.js b/app/assets/javascripts/application_public.js
index ae151a301..7df4891e7 100644
--- a/app/assets/javascripts/application_public.js
+++ b/app/assets/javascripts/application_public.js
@@ -2,6 +2,7 @@
 //= require jquery_ujs
 //= require extras
 //= require best_in_place
+//= require local_time
 
 $(function () {
   $(".best_in_place").best_in_place();