ghostfolio / ghostfolio

Open Source Wealth Management Software. Angular + NestJS + Prisma + Nx + TypeScript 🤍
https://Ghostfol.io
GNU Affero General Public License v3.0
4.2k stars 404 forks source link

[BUG] Cash balance date offset #3438

Closed huub66 closed 4 months ago

huub66 commented 4 months ago

Bug Description

When entering a certain date in the cash balance field on account level, the saved date gives a 1 day offset compared to the entered date when a date in the past is used. When using today's date, the correct day is saved.

To Reproduce

  1. Open account details
  2. Update cash balance with date in the past and cash balance value

Expected behavior

Entered date should represent same value as saved date

Screenshots

03-01-2024

Logs

Environment

Docker

Additional context

huub66 commented 4 months ago

Closed issue; timezone of ghostfolio app was misaligned with postgres db timezone. Corrected in docker-compose, working now.