Skip to content

Commit 9d5ec6f

Browse files
committed
fix(js): datetime.timedelta not compile
1 parent 171298c commit 9d5ec6f

File tree

1 file changed

+1
-0
lines changed
  • src/pylib/Lib/datetime_impl/timedelta_impl

1 file changed

+1
-0
lines changed

src/pylib/Lib/datetime_impl/timedelta_impl/meth.nim

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ const e6int = BiggestInt 1_000_000
9292
func timedelta*(
9393
days: FI = 0, seconds: FI = 0, microseconds: FI = 0,
9494
milliseconds: FI = 0, minutes: FI = 0, hours: FI = 0, weeks: FI = 0): timedelta =
95+
bind round # or js backend will fail due to ambiguous call
9596
var leftover_us = 0.0
9697
var x: IntS
9798
x.accumByFactors(leftover_us,

0 commit comments

Comments
 (0)