gvwb9g
Last Updated: August 02, 2017
·
179
· techmsi
Msi

Fix: Invalid date on Safari & IE

//  Safari & IE browsers do not support the date format “yyyy-mm-dd”
const fixDateForAllBrowsers = dateString => dateString.replace(/-/g, '/');
Say Thanks
Respond