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.0.0.beta1 stdlib/time.rb
opal-0.11.4 stdlib/time.rb
opal-0.11.3 stdlib/time.rb
opal-0.11.2 stdlib/time.rb
opal-0.11.1 stdlib/time.rb
opal-0.11.1.pre stdlib/time.rb
opal-0.10.6 stdlib/time.rb
opal-0.10.6.beta stdlib/time.rb
opal-0.11.0 stdlib/time.rb
opal-0.10.5 stdlib/time.rb
opal-0.10.4 stdlib/time.rb
opal-0.11.0.rc1 stdlib/time.rb
opal-0.10.3 stdlib/time.rb
opal-0.10.2 stdlib/time.rb
opal-0.10.1 stdlib/time.rb
opal-0.10.0 stdlib/time.rb
opal-0.10.0.rc2 stdlib/time.rb
opal-0.9.4 stdlib/time.rb
opal-0.9.3 stdlib/time.rb
opal-0.10.0.rc1 stdlib/time.rb