Sha256: 842d9af4e0776250d45db40145cb78a80db106357761b94d59c12dc556a7e4f9

Contents?: true

Size: 120 Bytes

Versions: 71

Compression:

Stored size: 120 Bytes

Contents

class Time
  def self.parse(str)
    `new Date(Date.parse(str))`
  end

  def iso8601
    strftime('%FT%T%z')
  end
end

Version data entries

71 entries across 71 versions & 3 rubygems

Version Path
opal-0.7.0 stdlib/time.rb
opal-0.7.0.rc1 stdlib/time.rb
opal-0.7.0.beta3 stdlib/time.rb
opal-0.6.3 stdlib/time.rb
opal-0.7.0.beta2 stdlib/time.rb
opal-cj-0.7.0.beta2 stdlib/time.rb
opal-cj-0.7.0.beta1 stdlib/time.rb
opal-0.7.0.beta1 stdlib/time.rb
opal-0.6.2 stdlib/time.rb
opal-0.6.1 stdlib/time.rb
opal-0.6.0 stdlib/time.rb