Project

General

Profile

Bug #13225

[DOC] expand docs for Date shifting

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

Status:
Closed
Priority:
Normal
Target version:
-
ruby -v:
ruby 2.4.0p0 (2016-12-24 revision 57164) [i686-linux]
[ruby-core:79584]

Description

ext/date/date_core.c: [DOC] expand docs for Date shifting

* add examples for Date#>> and Date#<< that clarify some edge cases
* add examples for Date#next_year and Date#prev_year
* add cross references to Date#>> and Date#<<

Files

doc_date_shift.patch (3.95 KB) doc_date_shift.patch stomar (Marcus Stollsteimer), 02/18/2017 08:50 AM

Associated revisions

Revision 9fe14335
Added by stomar (Marcus Stollsteimer) almost 3 years ago

date_core.c: expand docs for Date shifting

  • ext/date/date_core.c: [DOC] expand docs for Date shifting

    • add examples for Date#>> and Date#<< that clarify some edge cases
    • add examples for Date#next_year and Date#prev_year
    • add cross references to Date#>> and Date#<<

[ruby-core:79584] [Bug #13225]

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

Revision 57737
Added by stomar (Marcus Stollsteimer) almost 3 years ago

date_core.c: expand docs for Date shifting

  • ext/date/date_core.c: [DOC] expand docs for Date shifting

    • add examples for Date#>> and Date#<< that clarify some edge cases
    • add examples for Date#next_year and Date#prev_year
    • add cross references to Date#>> and Date#<<

[ruby-core:79584] [Bug #13225]

Revision 57737
Added by stomar (Marcus Stollsteimer) almost 3 years ago

date_core.c: expand docs for Date shifting

  • ext/date/date_core.c: [DOC] expand docs for Date shifting

    • add examples for Date#>> and Date#<< that clarify some edge cases
    • add examples for Date#next_year and Date#prev_year
    • add cross references to Date#>> and Date#<<

[ruby-core:79584] [Bug #13225]

Revision 57737
Added by stomar (Marcus Stollsteimer) almost 3 years ago

date_core.c: expand docs for Date shifting

  • ext/date/date_core.c: [DOC] expand docs for Date shifting

    • add examples for Date#>> and Date#<< that clarify some edge cases
    • add examples for Date#next_year and Date#prev_year
    • add cross references to Date#>> and Date#<<

[ruby-core:79584] [Bug #13225]

Revision 7ac47869
Added by naruse (Yui NARUSE) almost 3 years ago

merge revision(s) 57737: [Backport #13225]

    date_core.c: expand docs for Date shifting

    * ext/date/date_core.c: [DOC] expand docs for Date shifting

      * add examples for Date#>> and Date#<< that clarify some edge cases
      * add examples for Date#next_year and Date#prev_year
      * add cross references to Date#>> and Date#<<

      [ruby-core:79584] [Bug #13225]

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

Revision 57917
Added by naruse (Yui NARUSE) almost 3 years ago

merge revision(s) 57737: [Backport #13225]

date_core.c: expand docs for Date shifting

* ext/date/date_core.c: [DOC] expand docs for Date shifting

  * add examples for Date#>> and Date#<< that clarify some edge cases
  * add examples for Date#next_year and Date#prev_year
  * add cross references to Date#>> and Date#<<

  [ruby-core:79584] [Bug #13225]

Revision 950758b0
Added by usa (Usaku NAKAMURA) over 2 years ago

merge revision(s) 57737: [Backport #13225]

    date_core.c: expand docs for Date shifting

    * ext/date/date_core.c: [DOC] expand docs for Date shifting

      * add examples for Date#>> and Date#<< that clarify some edge cases
      * add examples for Date#next_year and Date#prev_year
      * add cross references to Date#>> and Date#<<

      [ruby-core:79584] [Bug #13225]

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

Revision 58125
Added by usa (Usaku NAKAMURA) over 2 years ago

merge revision(s) 57737: [Backport #13225]

date_core.c: expand docs for Date shifting

* ext/date/date_core.c: [DOC] expand docs for Date shifting

  * add examples for Date#>> and Date#<< that clarify some edge cases
  * add examples for Date#next_year and Date#prev_year
  * add cross references to Date#>> and Date#<<

  [ruby-core:79584] [Bug #13225]

History

Updated by hsbt (Hiroshi SHIBATA) almost 3 years ago

  • Assignee set to matz (Yukihiro Matsumoto)
  • Status changed from Open to Assigned

to Matz

He is the main maintainer of www.r-l.o and sends a lot of patches to ruby core.
I will recommend him to the ruby committer.

How do you think?

Updated by matz (Yukihiro Matsumoto) almost 3 years ago

Agreed. Proceed to usual committer admission.

Matz.

#3

Updated by stomar (Marcus Stollsteimer) almost 3 years ago

  • Status changed from Assigned to Closed

Applied in changeset r57737.


date_core.c: expand docs for Date shifting

  • ext/date/date_core.c: [DOC] expand docs for Date shifting

    • add examples for Date#>> and Date#<< that clarify some edge cases
    • add examples for Date#next_year and Date#prev_year
    • add cross references to Date#>> and Date#<<

[ruby-core:79584] [Bug #13225]

Updated by stomar (Marcus Stollsteimer) almost 3 years ago

Thanks Matz!

I'm honored, and I'm glad I can help improve Ruby in some small way.

Marcus (stomar)

Updated by naruse (Yui NARUSE) almost 3 years ago

  • Backport changed from 2.2: UNKNOWN, 2.3: UNKNOWN, 2.4: UNKNOWN to 2.2: UNKNOWN, 2.3: UNKNOWN, 2.4: DONE

ruby_2_4 r57917 merged revision(s) 57737.

#6

Updated by usa (Usaku NAKAMURA) over 2 years ago

  • Backport changed from 2.2: UNKNOWN, 2.3: UNKNOWN, 2.4: DONE to 2.2: REQUIRED, 2.3: REQUIRED, 2.4: DONE

Updated by usa (Usaku NAKAMURA) over 2 years ago

  • Backport changed from 2.2: REQUIRED, 2.3: REQUIRED, 2.4: DONE to 2.2: DONE, 2.3: REQUIRED, 2.4: DONE

ruby_2_2 r58125 merged revision(s) 57737.

Also available in: Atom PDF