Project

General

Profile

Bug #9682

[Doc] Improve Time.parse documentation (in lib/time)

Added by stomar (Marcus Stollsteimer) over 5 years ago. Updated almost 5 years ago.

Status:
Closed
Priority:
Normal
Target version:
-
ruby -v:
ruby 2.1.0p0 (2013-12-25 revision 44422) [i686-linux]
[ruby-core:61718]

Description

Consistently use EST like all other examples in lib/time.
Also tries to clarify the behaviour by adding a comment with the return value of Time.parse in the given example.

See discussion on #9521.


Files

doc_lib_time.patch (1.2 KB) doc_lib_time.patch stomar (Marcus Stollsteimer), 03/27/2014 01:35 PM

Related issues

Copied from Ruby trunk - Bug #9521: [Doc] Fix error in Time.parse documentation (in lib/time)Closed02/15/2014Actions

Associated revisions

Revision 252afcd9
Added by akr (Akira Tanaka) about 5 years ago

  • lib/time.rb (Time.parse): [DOC] Fix an example in the documentation. Reported by Marcus Stollsteimer. [ruby-core:60778] [Bug #9521] and [ruby-core:61718] [Bug #9682]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45837 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

Revision 45837
Added by akr (Akira Tanaka) about 5 years ago

  • lib/time.rb (Time.parse): [DOC] Fix an example in the documentation. Reported by Marcus Stollsteimer. [ruby-core:60778] [Bug #9521] and [ruby-core:61718] [Bug #9682]

Revision 45837
Added by akr (Akira Tanaka) about 5 years ago

  • lib/time.rb (Time.parse): [DOC] Fix an example in the documentation. Reported by Marcus Stollsteimer. [ruby-core:60778] [Bug #9521] and [ruby-core:61718] [Bug #9682]

Revision 45837
Added by akr (Akira Tanaka) about 5 years ago

  • lib/time.rb (Time.parse): [DOC] Fix an example in the documentation. Reported by Marcus Stollsteimer. [ruby-core:60778] [Bug #9521] and [ruby-core:61718] [Bug #9682]

Revision 45837
Added by akr (Akira Tanaka) about 5 years ago

  • lib/time.rb (Time.parse): [DOC] Fix an example in the documentation. Reported by Marcus Stollsteimer. [ruby-core:60778] [Bug #9521] and [ruby-core:61718] [Bug #9682]

Revision 45837
Added by akr (Akira Tanaka) about 5 years ago

  • lib/time.rb (Time.parse): [DOC] Fix an example in the documentation. Reported by Marcus Stollsteimer. [ruby-core:60778] [Bug #9521] and [ruby-core:61718] [Bug #9682]

Revision 45837
Added by akr (Akira Tanaka) about 5 years ago

  • lib/time.rb (Time.parse): [DOC] Fix an example in the documentation. Reported by Marcus Stollsteimer. [ruby-core:60778] [Bug #9521] and [ruby-core:61718] [Bug #9682]

Revision 447e1c4d
Added by nagachika (Tomoyuki Chikanaga) almost 5 years ago

merge revision(s) r45349,r45837,r45838: [Backport #9521] [Backport #9682]

    * lib/time.rb: [DOC] Fix timezone in example of Time.parse [Bug #9521]
      Based on patch by @stomar

    * lib/time.rb (Time.parse): [DOC] Fix an example in the documentation.
      Reported by Marcus Stollsteimer.
      [ruby-core:60778] [Bug #9521] and [ruby-core:61718] [Bug #9682]

    * lib/time.rb (Time.parse): [DOC] Fix an example in the documentation
      to use EST.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_2_1@47228 b2dd03c8-39d4-4d8f-98ff-823fe69b080e

Revision 47228
Added by nagachika (Tomoyuki Chikanaga) almost 5 years ago

merge revision(s) r45349,r45837,r45838: [Backport #9521] [Backport #9682]

* lib/time.rb: [DOC] Fix timezone in example of Time.parse [Bug #9521]
  Based on patch by @stomar

* lib/time.rb (Time.parse): [DOC] Fix an example in the documentation.
  Reported by Marcus Stollsteimer.
  [ruby-core:60778] [Bug #9521] and [ruby-core:61718] [Bug #9682]

* lib/time.rb (Time.parse): [DOC] Fix an example in the documentation
  to use EST.

History

Updated by stomar (Marcus Stollsteimer) over 5 years ago

  • Copied from Bug #9521: [Doc] Fix error in Time.parse documentation (in lib/time) added

Updated by akr (Akira Tanaka) about 5 years ago

  • Status changed from Feedback to Closed

Applied in changeset r45837.


  • lib/time.rb (Time.parse): [DOC] Fix an example in the documentation. Reported by Marcus Stollsteimer. [ruby-core:60778] [Bug #9521] and [ruby-core:61718] [Bug #9682]

Updated by usa (Usaku NAKAMURA) almost 5 years ago

  • Backport changed from 1.9.3: UNKNOWN, 2.0.0: UNKNOWN, 2.1: UNKNOWN to 2.0.0: WONTFIX, 2.1: UNKNOWN

Updated by nagachika (Tomoyuki Chikanaga) almost 5 years ago

  • Backport changed from 2.0.0: WONTFIX, 2.1: UNKNOWN to 2.0.0: WONTFIX, 2.1: REQUIRED

Updated by nagachika (Tomoyuki Chikanaga) almost 5 years ago

  • Backport changed from 2.0.0: WONTFIX, 2.1: REQUIRED to 2.0.0: WONTFIX, 2.1: DONE

Backported into ruby_2_1 branch at r47228.

Also available in: Atom PDF