79431817

Date: 2025-02-12 03:03:17
Score: 0.5
Natty:
Report link

To fix this, you need to tell Moment to parse the date as UTC from the start rather than converting it from local time. Instead of using:

moment(financeAgreement.startDate).utc().toISOString()

you should use

moment.utc(financeAgreement.startDate).toISOString()
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: kantuni