From d2b88143afb9784282aa58b3c58424d414b1ac88 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matheus=20Gaudencio=20do=20R=C3=AAgo?= Date: Fri, 14 Feb 2025 12:42:31 -0300 Subject: [PATCH] Avoid GMT-3 on timezone from api auctions list --- 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})?\)\//);