Skip to content

Commit

Permalink
Avoid GMT-3 on timezone from api auctions list (#1009)
Browse files Browse the repository at this point in the history
  • Loading branch information
matheusgr authored Feb 14, 2025
1 parent 8858ee1 commit d20f1f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion linx/utils/transform.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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})?\)\//);
Expand Down

0 comments on commit d20f1f7

Please sign in to comment.