diff --git a/CHANGELOG.md b/CHANGELOG.md index 958642272..4960394cc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,8 +9,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added -- Added the tags to the position detail dialog - Added the tags to the create or edit transaction dialog +- Added the tags to the position detail dialog + +### Changed + +- Changed the date to UTC in the data gathering service ## 1.141.1 - 24.04.2022 diff --git a/apps/api/src/services/data-gathering.service.ts b/apps/api/src/services/data-gathering.service.ts index c3a7f64c7..d878b014b 100644 --- a/apps/api/src/services/data-gathering.service.ts +++ b/apps/api/src/services/data-gathering.service.ts @@ -377,7 +377,14 @@ export class DataGatheringService { data: { dataSource, symbol, - date: currentDate, + date: new Date( + Date.UTC( + getYear(currentDate), + getMonth(currentDate), + getDate(currentDate), + 0 + ) + ), marketPrice: lastMarketPrice } });