summaryrefslogtreecommitdiff
path: root/ext/date/date_core.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/date/date_core.c')
-rw-r--r--ext/date/date_core.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/date/date_core.c b/ext/date/date_core.c
index eb0e45c9e6..774819d13a 100644
--- a/ext/date/date_core.c
+++ b/ext/date/date_core.c
@@ -1417,7 +1417,7 @@ date_s__strptime_internal(int argc, VALUE *argv, VALUE klass,
/*
* call-seq:
- * Date._strftime(string, [format="%F"])
+ * Date._strptime(string, [format="%F"])
*
* Return a hash of parsed elements.
*/
@@ -3159,7 +3159,7 @@ datetime_s_now(int argc, VALUE *argv, VALUE klass)
/*
* call-seq:
- * DateTime._strftime(string, [format="%FT%T%z"])
+ * DateTime._strptime(string, [format="%FT%T%z"])
*
* Return a hash of parsed elements.
*/