convex-test handling dates differently than convex runtime
- local timezone is used instead of UTC (this is a big one)
-
Date.prototype.toString() and Date.prototype.toISOString() both work as expected (timezone aside), but when a Date is coerced to a string without directly calling one of these methods, the mock test environment seems to use toISOString(), whereas the convex runtime correctly produces the result of toString().