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

Timezones #63

Closed
alexgleason opened this issue Sep 8, 2019 · 4 comments
Closed

Timezones #63

alexgleason opened this issue Sep 8, 2019 · 4 comments

Comments

@alexgleason
Copy link
Contributor

A post is made from a WordPress site where the system time is set to UTC-5: Chicago.

It reaches the Fediverse server, which stores time in UTC-0.

The timestamp is 5 hours off when displayed in the user's local time.

@pfefferle
Copy link
Member

But isn't that a bug of the Fediverse Server then?

ActivityPub specifies published here: https://www.w3.org/TR/activitystreams-vocabulary/#dfn-published

It has to be xsd:dateTime which defines:

The time zone may be specified as Z (UTC) or (+|-)hh:mm. Time zones that aren't specified are considered undetermined.

http://books.xmlschemata.org/relaxng/ch19-77049.html

@silksow
Copy link
Contributor

silksow commented Sep 28, 2019

I can confirm this issue with posts from my WP to mastodon.social

@jgoerzen
Copy link

Observed as well here

@pfefferle
Copy link
Member

Fixed by #107

Thanks @mediaformat !!

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

4 participants