andrei
(Andrei Prigorshnev)
25. Mai 2022 um 15:41
8
Dies behebt das Datum in E-Mails sowohl beim Stummschalten als auch beim Sperren von Benutzern. Daten werden in die Zeitzone des Benutzers konvertiert:
main ← AndrewPrigorshnev:fix/respect-user-timezone-in-silencing-email
opened 03:37PM - 25 May 22 UTC
This fixes one of the problems reported in https://meta.discourse.org/t/wrong-cu… stom-date-and-time-in-silenced-and-suspended-warnings/226297/2.
When silencing or suspending a user, we send a date in UTC instead of sending a date in user's timezone, which is confusing.
For example a user in GMT+1 who was suspended until _8 May 2022 17:25_ will receive this email:

This PR fixes both silencing and suspending emails. Mails will be sent with date and time in user's timezone. If a user haven't set up timezone, dates will be sent in UTC.
Als Nächstes müssen wir das Rundungsproblem beheben. Ich kümmere mich darum.
3 „Gefällt mir“