From d20f1f71a5e23505ab50fab91cbf8aee335f0f2c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matheus=20Gaudencio=20do=20R=C3=AAgo?= Date: Fri, 14 Feb 2025 12:58:28 -0300 Subject: [PATCH] Avoid GMT-3 on timezone from api auctions list (#1009) --- linx/utils/transform.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/linx/utils/transform.ts b/linx/utils/transform.ts index 1d29b4bbe..f28737182 100644 --- a/linx/utils/transform.ts +++ b/linx/utils/transform.ts @@ -71,7 +71,7 @@ export const addAuctions = ( product.additionalProperty?.splice(auctionPropertyIndex, 1); } - const now = new Date().getTime() - (3 * 60 * 60 * 1000); + const now = new Date().getTime(); const parseDate = (dateString: string) => { const match = dateString.match(/\/Date\((\d+)([-+]\d{4})?\)\//);