react-native-batch-push icon indicating copy to clipboard operation
react-native-batch-push copied to clipboard

[iOS] Wrong timestamp in Inbox notifications

Open Minishlink opened this issue 8 years ago • 1 comments

There is like 6 hours of offset.

@guenard Would you know by any chance how to correctly handle the BatchInboxNotificationContent.date? We try to convert it to milliseconds here but it gives 6 hours of offset. It either looks like there is an overflow somewhere or the Batch SDK has some offset

https://github.com/bamlab/react-native-batch-push/blob/fbe15a9c6292defed12b3f46b1ab66504ea6b9ab/ios/RNBatchPush.m#L59

Minishlink avatar Dec 07 '17 19:12 Minishlink

As a matter of fact, there was no issue: the phone was is the wrong timezone with the wrong time! 🎊

Minishlink avatar Dec 08 '17 13:12 Minishlink