Notify birthdays 6 hours later, so that Americans whine less.

This commit is contained in:
Deukhoofd 2020-01-19 17:13:29 +01:00
parent 3b9c7808d5
commit e95b63c24b
Signed by: Deukhoofd
GPG Key ID: ADF2E9256009EDCE
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ namespace DeukBot4.Database
// ReSharper disable once FunctionRecursiveOnAllPaths // ReSharper disable once FunctionRecursiveOnAllPaths
public static async Task CheckBirthdays() public static async Task CheckBirthdays()
{ {
var today = DateTime.UtcNow.Date; var today = DateTime.UtcNow.Date - new TimeSpan(6, 0 , 0);
while (!Program.IsConnected) while (!Program.IsConnected)
{ {
await Task.Delay(500); await Task.Delay(500);