summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/dashing.rb2
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 }