При записи техсообщений в базу необходимо время сконвертировать в 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);
|
await CreateSystemIfNotExist(systemId, token);
|
||||||
|
|
||||||
entity.SystemId = systemId;
|
entity.SystemId = systemId;
|
||||||
|
entity.Timestamp = dto.Timestamp.ToUniversalTime();
|
||||||
|
|
||||||
entities.Add(entity);
|
entities.Add(entity);
|
||||||
}
|
}
|
||||||
|
@ -19,6 +19,7 @@ namespace DD.Persistence.Repositories
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// Добавление новых сообщений
|
/// Добавление новых сообщений
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
/// <param name="systemId"></param>
|
||||||
/// <param name="dtos"></param>
|
/// <param name="dtos"></param>
|
||||||
/// <param name="token"></param>
|
/// <param name="token"></param>
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
|
Loading…
Reference in New Issue
Block a user