ext/oj/object.c in oj-3.13.1 vs ext/oj/object.c in oj-3.13.2
- old
+ new
@@ -299,10 +299,10 @@
nsec = 1000000000LL - nsec;
}
}
if (86400 == ni->exp) { // UTC time
parent->val = rb_time_nano_new(ni->i, (long)nsec);
- // Since the ruby C routines alway create local time, the
+ // Since the ruby C routines always create local time, the
// offset and then a conversion to UTC keeps makes the time
// match the expected value.
parent->val = rb_funcall2(parent->val, oj_utc_id, 0, 0);
} else if (ni->has_exp) {
int64_t t = (int64_t)(ni->i + ni->exp);