Does anyone know the date and time format for the "fireDate" object of the "PushNotificationIOS" method "scheduleLocalNotification"
thanks in advance
I got the following error message when sending a wrong string to fireDate
:
Expected format: YYYY-MM-DD'T'HH:mm:ss.sssZ
If no other format works I suggest the one above, the following code works using moment:
moment().format("YYYY-MM-DDTHH:mm:ss.sssZ")
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With