Closed mooniker closed 7 years ago
The date can come from many different sources (both machine-readable meta tags and human-written text): https://github.com/ageitgey/node-unfluff/blob/92d09b63a20f2a592bcbdc1d5f33e61ca4615421/src/extractor.coffee#L8-L30
Because of that, there's no promise of what format the data will be in.
Very good to know. Looks like a lot of websites (the ones I've worked with so far) provide the meta in ISO but later fallbacks in that list pick it out from HTML elements (as it must be the case above).
Thanks for pointing that out so I can take that into account.
Sure, no problem :)
Is the date attribute supposed to be consistently an iso datestring? or it normal for it sometimes to be (an attempt at at) a human readable string, i.e. "August 2, 2017"?