При записи техсообщений в базу необходимо время сконвертировать в Utc
All checks were successful
Unit tests / test (push) Successful in 54s
All checks were successful
Unit tests / test (push) Successful in 54s
This commit is contained in:
parent
8596f5b35c
commit
3d6eb1a28c
@ -91,6 +91,7 @@ namespace DD.Persistence.Repository.Repositories
|
||||
await CreateSystemIfNotExist(systemId, token);
|
||||
|
||||
entity.SystemId = systemId;
|
||||
entity.Timestamp = dto.Timestamp.ToUniversalTime();
|
||||
|
||||
entities.Add(entity);
|
||||
}
|
||||
|
@ -19,6 +19,7 @@ namespace DD.Persistence.Repositories
|
||||
/// <summary>
|
||||
/// Добавление новых сообщений
|
||||
/// </summary>
|
||||
/// <param name="systemId"></param>
|
||||
/// <param name="dtos"></param>
|
||||
/// <param name="token"></param>
|
||||
/// <returns></returns>
|
||||
|
Loading…
Reference in New Issue
Block a user