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

Set custom timezone when using original_date #121

Open
edel79 opened this issue Feb 3, 2023 · 1 comment
Open

Set custom timezone when using original_date #121

edel79 opened this issue Feb 3, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@edel79
Copy link

edel79 commented Feb 3, 2023

Hello, I'm using the latest version of Pleroma to post tweets to a Mastodon instance.
It wotks great but the time reported on the Mastodon side is wrong, getting 1 hour late. For example, a tweet posted at 8:00 is reported to have been published at 7:00 on Mastodon. It seems, in my case, the date/time is reported on UTC time, as I live on the UTC+1 timezone.
Is it a parameter to correct this ?

@robertoszek
Copy link
Owner

Ah, that makes sense.
The original date of the tweet reported by the API is, as you guessed, on UTC.

Currently there's no parameter to change the timezone of the original_date mapping but I consider it's worth adding.
I'll look into it, the change shouldn't be too involved.

@robertoszek robertoszek added the enhancement New feature or request label Feb 7, 2023
@robertoszek robertoszek changed the title Wrong tweet time reported on the Fediverse Set custom timezone when using original_date Feb 7, 2023
@robertoszek robertoszek changed the title Set custom timezone when using original_date Set custom timezone when using original_date Feb 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants