Index: src/date.js |
diff --git a/src/date.js b/src/date.js |
index a54cb238c51b35bdea282d3c71fb4612072ae164..c75d12c651c6d6cb2228ee78e89f70674ee19376 100644 |
--- a/src/date.js |
+++ b/src/date.js |
@@ -107,7 +107,7 @@ function MakeDay(year, month, date) { |
} |
// Now we rely on year and month being SMIs. |
- return %DateMakeDay(year, month) + date - 1; |
+ return %DateMakeDay(year | 0, month | 0) + date - 1; |
} |