Project

General

Profile

Actions

Bug #13225

closed

[DOC] expand docs for Date shifting

Added by stomar (Marcus Stollsteimer) about 7 years ago. Updated about 7 years ago.

Status:
Closed
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

Updated by hsbt (Hiroshi SHIBATA) about 7 years ago

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

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) about 7 years ago

Agreed. Proceed to usual committer admission.

Matz.

Actions #3

Updated by stomar (Marcus Stollsteimer) about 7 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) about 7 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) about 7 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.

Actions #6

Updated by usa (Usaku NAKAMURA) about 7 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) about 7 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.

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0