diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | ext/date/date_core.c | 6 |
2 files changed, 8 insertions, 3 deletions
@@ -1,3 +1,8 @@ +Fri May 20 22:19:00 2016 Kazuhiro NISHIYAMA <zn@mbf.nifty.com> + + * ext/date/date_core.c: [DOC] fix typos. + [fix GH-1360] patched by @soundasleep + Fri May 20 21:26:58 2016 Naohisa Goto <ngotogenome@gmail.com> * include/ruby/defines.h (RB_GNUC_EXTENSION, RB_GNUC_EXTENSION_BLOCK): diff --git a/ext/date/date_core.c b/ext/date/date_core.c index 90377bf007..08c58b1e91 100644 --- a/ext/date/date_core.c +++ b/ext/date/date_core.c @@ -5256,7 +5256,7 @@ d_lite_zone(VALUE self) * call-seq: * d.julian? -> bool * - * Retruns true if the date is before the day of calendar reform. + * Returns true if the date is before the day of calendar reform. * * Date.new(1582,10,15).julian? #=> false * (Date.new(1582,10,15) - 1).julian? #=> true @@ -5272,7 +5272,7 @@ d_lite_julian_p(VALUE self) * call-seq: * d.gregorian? -> bool * - * Retunrs true if the date is on or after the day of calendar reform. + * Returns true if the date is on or after the day of calendar reform. * * Date.new(1582,10,15).gregorian? #=> true * (Date.new(1582,10,15) - 1).gregorian? #=> false @@ -8503,7 +8503,7 @@ date_to_time(VALUE self) * call-seq: * d.to_date -> self * - * Returns self; + * Returns self. */ static VALUE date_to_date(VALUE self) |