wger
wger copied to clipboard
Incorrect date displayed in Weight Overview
Steps to Reproduce
- Navigate to "Add weight entry"
- Set a weight and date then save
- Viewing the entry in weight overview will display the date before the set date in step 2
Expected results: If I set 6/12/2023 for date and 123 for weight the entry in the weight overview should show the date as 6/12/2023 and weight as 123
Actual results: The entry in the weight overview shows the entry date as 6/11/2023 and weight as 123
Logs
Is it always off by a month for you? In any case this isn't the intended behaviour
Hi, my apologies, it is always off by a day and not a month as I use the MM/DD/YYYY format. I have tried multiple entries in different days/months/years and still results in the same thing.
oh, yeah, that makes more sense! 😆
Still shouldn't do it, though. Perhaps some timezone thing?
It could be a conflict with the timezone, is there a base timezone this is coded with? If there is, I can swap and see if the bug persists.
sure, just set TIME_ZONE to a value from this list http://en.wikipedia.org/wiki/List_of_tz_zones_by_name
yeah, this is very probably a timezone problem, got something similar recently
Same Problem here. TIME_ZONE set to Europe/Berlin.