Class: Time

Inherits:
Object
  • Object
show all
Defined in:
lib/wisebedclientruby.rb

Instance Method Summary collapse

Instance Method Details

#iso8601_no_tzObject

WARN: polluting global namespaces here…



6
7
8
9
# File 'lib/wisebedclientruby.rb', line 6

def iso8601_no_tz
  # example: 2012-10-19T13:00:31
  utc.strftime("%Y-%m-%dT%H:%M:%SZ")
end