summaryrefslogtreecommitdiff
path: root/ext/date/date_core.c
diff options
context:
space:
mode:
authortadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-04-16 13:43:15 +0000
committertadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-04-16 13:43:15 +0000
commit531dfb40e0fa16f873b53dbef8694a26e10a7d6b (patch)
tree794269df05d89e05f95d4f16c0a1ca9113f2b7e8 /ext/date/date_core.c
parent10ce57ea8d3328a815ad096cb5049242c0959b1a (diff)
typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31298 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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.
*/