mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
10**3 is always 1000
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64607 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
dcd4914b3a
commit
8c90838f7c
1 changed files with 1 additions and 3 deletions
|
@ -426,9 +426,7 @@ date__strptime_internal(const char *str, size_t slen,
|
|||
if (sign == -1)
|
||||
n = f_negate(n);
|
||||
set_hash("seconds",
|
||||
rb_rational_new2(n,
|
||||
f_expt(INT2FIX(10),
|
||||
INT2FIX(3))));
|
||||
rb_rational_new2(n, INT2FIX(1000)));
|
||||
goto matched;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue