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-1.4.1 stdlib/time.rb
opal-1.4.0 stdlib/time.rb
opal-1.4.0.alpha1 stdlib/time.rb
opal-1.3.2 stdlib/time.rb
opal-1.3.1 stdlib/time.rb
opal-1.3.0 stdlib/time.rb
opal-1.3.0.rc1 stdlib/time.rb
opal-1.3.0.alpha1 stdlib/time.rb
opal-1.2.0 stdlib/time.rb
opal-1.2.0.beta1 stdlib/time.rb
opal-1.1.1 stdlib/time.rb
opal-1.1.1.rc1 stdlib/time.rb
opal-1.1.0 stdlib/time.rb
opal-1.1.0.rc1 stdlib/time.rb
opal-1.0.5 stdlib/time.rb
opal-1.0.4 stdlib/time.rb
opal-1.0.3 stdlib/time.rb
opal-1.0.2 stdlib/time.rb
opal-1.0.1 stdlib/time.rb
opal-1.0.0 stdlib/time.rb