summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/date/date_parse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/date/date_parse.c b/ext/date/date_parse.c
index 74730c6c80b..2d206385bdc 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;
}
}