Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect datetime when converting h-feed to mf2 json #6

Open
EdwardHinkle opened this issue Jan 23, 2019 · 1 comment
Open

Incorrect datetime when converting h-feed to mf2 json #6

EdwardHinkle opened this issue Jan 23, 2019 · 1 comment

Comments

@EdwardHinkle
Copy link

EdwardHinkle commented Jan 23, 2019

I have a podcast feed here: http://feeds.30andcounting.me/podcast

It has the published datetime as Jan 22, 9:20 PM -0500

When I put this into h-feed the h-feed page says “4 hours ago” which is correct.
(http://www.unmung.com/feed?feed=https%3A%2F%2Ffeeds.30andcounting.me%2Fpodcast)

When I put that h-feed into the mf2 JSON parser (http://www.unmung.com/mf2?url=http%3A%2F%2Fwww.unmung.com%2Ffeed%3Ffeed%3Dhttp%253A%252F%252Ffeeds.30andcounting.me%252Fpodcast&html=), it provides me Jan 23, 2:20 AM (no time zone offset). Obviously that’s the same time, but my website doesn’t know what time zone I was in at the time to add it appropriately. I think the mf2 parser should be returning my original datetime with my original offset Jan 22, 9:20 PM -0500

@EdwardHinkle
Copy link
Author

I ran the h-feed through pin13 and it returns the same weird datetime without offset, so the issue seems to be with the podcast to h-feed’s machine readable dt-published content

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant