Open bransometan opened 2 years ago
new Date().toLocaleString() output differently in IOS and android
IOS : 07/07/2022, 15:32:50 Android: Thu Jul 7 15:32:50 2022
import moment from "moment" Use moment().format('DD/MM/YYYY, HH:mm:ss ') instead of new Date().toLocaleString() to solve issue
new Date().toLocaleString() output differently in IOS and android
IOS : 07/07/2022, 15:32:50 Android: Thu Jul 7 15:32:50 2022