what about new format?
chikiuso opened this issue · 2 comments
chikiuso commented
hi thanks for your great work,
I just tried and see the WhatsApp export format seem different, may I ask how to deal with it?
[7/11/2017, 8:20:41 PM] someone: bla bla bla
thanks!
Pustur commented
Hey, I don't quite understand your question. I tried your input string and it works fine, what's the problem?
Test script
whatsappChatParser
.parseString('[7/11/2017, 8:20:41 PM] someone: bla bla bla')
.then(console.log);
Output:
[
{
date: '2017-11-07T20:20:41.000Z', // Date obj
author: 'someone',
message: 'bla bla bla'
}
]
Pustur commented
Closing this for inactivity, feel free to reopen if needed.