andrei
(Andrei Prigorshnev)
Mai 25, 2022, 3:41
8
Cela corrige la date dans les e-mails lors du silence et de la suspension des utilisateurs. Les dates seront converties dans le fuseau horaire de l’utilisateur :
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.
Ensuite, nous devons corriger le problème d’arrondi. Je m’en occupe.
3 « J'aime »