При записи техсообщений в базу необходимо время сконвертировать в Utc
All checks were successful
Unit tests / test (push) Successful in 54s

This commit is contained in:
Olga Nemt 2025-01-15 09:47:29 +05:00
parent 8596f5b35c
commit 3d6eb1a28c
2 changed files with 2 additions and 0 deletions

View File

@ -91,6 +91,7 @@ namespace DD.Persistence.Repository.Repositories
await CreateSystemIfNotExist(systemId, token);
entity.SystemId = systemId;
entity.Timestamp = dto.Timestamp.ToUniversalTime();
entities.Add(entity);
}

View File

@ -19,6 +19,7 @@ namespace DD.Persistence.Repositories
/// <summary>
/// Добавление новых сообщений
/// </summary>
/// <param name="systemId"></param>
/// <param name="dtos"></param>
/// <param name="token"></param>
/// <returns></returns>