Closed ghmendonca closed 1 year ago
Hello, and thanks for reporting. A couple of questions:
og:updated_time
a valid open graph tag? I can't see it at https://ogp.me.date
comes from the first rule:❯ $jsonld('dateModified')
'Fri, 07/14/2023 - 10:30'
❯ date($jsonld('dateModified'))
'2023-07-21T10:00:00.000Z'
so I think it's expected. Thoughts?
Prerequisites
package.json
.Subject of the issue
The
metascraper-date
is returning the wrong dates for this page:https://www.fda.gov/food/food-additives-petitions/aspartame-and-other-sweeteners-food
If you look the meta tags, both
og:updated_time
andarticle:modified_time
has the valueFri, 07/14/2023 - 10:30
but yet the metascraper is returning2023-07-21T12:00:00.000Z
. It's interesting that this date can't be find anywhere in the HTML.Also, the published date is also wrong, the meta tag
article:published_time
has the valueTue, 07/11/2023 - 17:57
but the metascraper is returning2023-07-18T12:00:00.000Z
.Expected behaviour
Return the correct dates, based on the meta tags.
Actual behaviour
Returning wrong dates that are not even in the HTML.