pleroma-bot icon indicating copy to clipboard operation
pleroma-bot copied to clipboard

Set custom timezone when using original_date

Open edel79 opened this issue 2 years ago • 1 comments

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 ?

edel79 avatar Feb 03 '23 09:02 edel79

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 avatar Feb 07 '23 18:02 robertoszek