'Force react-datepicker to use UTC
If selected starts out as null.
When I select a date 20/04/2022
Datepicker shows 20/04/2022
Console.log shows Wed Apr 20 2022 00:00:00 GMT+0200 (Central European Summer Time)
But my payload on the form shows 2022-04-19T22:00:00.000Z
Can I lock the format to UTC?
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
