aboutsummaryrefslogtreecommitdiffstats
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/date/date_core.c b/ext/date/date_core.c
index 52402c7a20..9f6793e206 100644
--- a/ext/date/date_core.c
+++ b/ext/date/date_core.c
@@ -8114,7 +8114,7 @@ mk_ary_of_str(long len, const char *a[])
if (!a[i])
e = Qnil;
else {
- e = rb_str_new2(a[i]);
+ e = rb_usascii_str_new2(a[i]);
rb_obj_freeze(e);
}
rb_ary_push(o, e);