Bug #9682

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

Added by Marcus Stollsteimer about 1 year ago. Updated 8 months ago.

[ruby-core:61718]
Status:Closed
Priority:Normal
Assignee:Zachary Scott
ruby -v:ruby 2.1.0p0 (2013-12-25 revision 44422) [i686-linux] Backport:2.0.0: WONTFIX, 2.1: DONE

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.

doc_lib_time.patch Magnifier (1.2 KB) 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) Closed 02/15/2014

Associated revisions

Revision 45837
Added by Akira Tanaka 12 months ago

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

Revision 45837
Added by Akira Tanaka 12 months ago

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

Revision 47228
Added by Tomoyuki Chikanaga 8 months 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.
   [Bug #9521] and  [Bug #9682]

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

History

#1 Updated by Marcus Stollsteimer about 1 year ago

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

#2 Updated by Akira Tanaka 12 months 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. [Bug #9521] and [Bug #9682]

#3 Updated by Usaku NAKAMURA 10 months ago

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

#4 Updated by Tomoyuki Chikanaga 9 months ago

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

#5 Updated by Tomoyuki Chikanaga 8 months 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