diff --git a/lib/iruby/session.rb b/lib/iruby/session.rb index 584de9a..2b06759 100644 --- a/lib/iruby/session.rb +++ b/lib/iruby/session.rb @@ -2,7 +2,6 @@ require 'iruby/session/mixin' require 'securerandom' -require 'time' module IRuby class Session @@ -80,7 +79,7 @@ def send(socket_type, message_type, content) header = { msg_type: message_type, msg_id: SecureRandom.uuid, - date: Time.now.utc.iso8601, + date: Time.now.utc.strftime('%Y-%m-%dT%H:%M:%SZ'), username: 'kernel', session: @session_id, version: '5.0'