fix: safari crashing because of date value (#692)

This commit is contained in:
Dexter Edwards 2022-06-30 17:27:12 +01:00 committed by GitHub
parent 50693d2df9
commit 8c7a0e24a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -61,8 +61,8 @@ export const limitOrder = generateOrder({
type: OrderType.Limit,
status: OrderStatus.Active,
timeInForce: OrderTimeInForce.GTT,
createdAt: new Date('2022-3-3').toISOString(),
expiresAt: new Date('2022-3-5').toISOString(),
createdAt: new Date(2022, 3, 3).toISOString(),
expiresAt: new Date(2022, 3, 5).toISOString(),
});
export const marketOrder = generateOrder({