diff options
author | Rhenium <rhenium@rhe.jp> | 2014-01-24 04:48:25 +0900 |
---|---|---|
committer | Rhenium <rhenium@rhe.jp> | 2014-01-24 04:48:25 +0900 |
commit | 35d814853b5d794a409f905a970cd41235d6ff9e (patch) | |
tree | 815690d84349e5cb32bcadd69ccf91e0f37dff9f /app/helpers/application_helper.rb | |
parent | 3b8bc9f15cc64e62986da9a6ec6b106d3ccc41b4 (diff) | |
download | aclog-35d814853b5d794a409f905a970cd41235d6ff9e.tar.gz |
convert tweeted_at to localtime in JavaScript
Diffstat (limited to 'app/helpers/application_helper.rb')
-rw-r--r-- | app/helpers/application_helper.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 4c3e5a4..3d5eedd 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -1,10 +1,6 @@ module ApplicationHelper include Twitter::Autolink - def format_time(dt) - dt.to_time.localtime("+09:00").strftime("%Y-%m-%d %H:%M:%S") - end - def title(*args) content_for :title do (args.compact).join(" - ") |