diff options
Diffstat (limited to 'ext')
-rw-r--r-- | ext/date/date_parse.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/date/date_parse.c b/ext/date/date_parse.c index 74730c6c80..2d206385bd 100644 --- a/ext/date/date_parse.c +++ b/ext/date/date_parse.c @@ -80,8 +80,8 @@ s3e(VALUE hash, VALUE y, VALUE m, VALUE d, int bc) d = Qnil; } if (!NIL_P(d) && *RSTRING_PTR(d) == '\'') { - y = d; - d = Qnil; + y = d; + d = Qnil; } } |