summaryrefslogtreecommitdiff
path: root/ext/date
diff options
context:
space:
mode:
Diffstat (limited to 'ext/date')
-rw-r--r--ext/date/date_core.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/ext/date/date_core.c b/ext/date/date_core.c
index 11c38a982c..99eb937184 100644
--- a/ext/date/date_core.c
+++ b/ext/date/date_core.c
@@ -2568,7 +2568,7 @@ date_s__valid_civil_p(int argc, VALUE *argv, VALUE klass)
*
* Date.valid_date? is an alias for Date.valid_civil?.
*
- * Related: Date.jd, Date.civil.
+ * Related: Date.jd, Date.new.
*/
static VALUE
date_s_valid_civil_p(int argc, VALUE *argv, VALUE klass)
@@ -3417,6 +3417,9 @@ date_s_ordinal(int argc, VALUE *argv, VALUE klass)
return ret;
}
+/*
+ * Same as Date.new.
+ */
static VALUE
date_s_civil(int argc, VALUE *argv, VALUE klass)
{