diff options
author | Scott Gerring <scott@scotgerring.com> | 2012-11-03 13:18:40 +0800 |
---|---|---|
committer | Daniel Beauchamp <daniel.beauchamp@shopify.com> | 2012-12-04 01:02:20 -0300 |
commit | c39be899b629378c0a4e1dd4beab528ebcbffa6e (patch) | |
tree | 3a472708d9c2845934aa399c98ba8f8a0a3cd954 /lib | |
parent | 694f8d98ad751be221cc3156356b9e452638ce5f (diff) |
Display 'last updated' using user's locale. Closes #10
Diffstat (limited to 'lib')
-rw-r--r-- | lib/dashing.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/dashing.rb b/lib/dashing.rb index 7d066cc..37dc54d 100644 --- a/lib/dashing.rb +++ b/lib/dashing.rb @@ -81,7 +81,7 @@ end def send_event(id, body) body["id"] = id - body["updatedAt"] = Time.now + body["updatedAt"] = Time.now.to_i event = format_event(body.to_json) settings.history[id] = event settings.connections.each { |out| out << event } |