summaryrefslogtreecommitdiff
path: root/ext/date/date_parse.c
diff options
context:
space:
mode:
authortadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-05-31 13:28:48 +0000
committertadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-05-31 13:28:48 +0000
commit899d2c14b055e180308396b5ef36397c0737f6f7 (patch)
tree09310a78d95c8acd0652f3be4c84359870f8d875 /ext/date/date_parse.c
parent3b3cf8753de031cdd109c5a7bd18ca6d18f95e01 (diff)
* ext/date/date_core.c: use simple/complex mode instead of light/right mode.
* test/date/*.rb: followed the above changes. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31862 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/date/date_parse.c')
-rw-r--r--ext/date/date_parse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/date/date_parse.c b/ext/date/date_parse.c
index f08e99b..3e21e13 100644
--- a/ext/date/date_parse.c
+++ b/ext/date/date_parse.c
@@ -623,7 +623,7 @@ static int
parse_time_cb(VALUE m, VALUE hash)
{
static const char pat_source[] =
- "\\A(\\d+)h?"
+ "\\A(\\d+)h?"
"(?:\\s*:?\\s*(\\d+)m?"
"(?:"
"\\s*:?\\s*(\\d+)(?:[,.](\\d+))?s?"