Open PixlTracer opened 1 week ago
@LauraEst @PixlTracer
Thanks for the report.
For now, I can give the following update: I've checked what was stored in the database. The dates are stored correctly, exactly as shown on the first screenshot from the login area:
2024-12-01;2025-01-15;2025-04-01
The second screenshot shows the public area, at a course detail page. At this point the data is processed by JavaScript to show it to the user. This is where it seems to go wrong. As @PixlTracer also suggested, this might have to do with a different timezone. This probably should not happen. It would be nice if the application behaves the same in other time zones than GMT +1 ?
That needs some further investigation.
@LauraEst @PixlTracer A possible fix has been implemented. I'll keep you updated when it's available in test, so we could test it in Laura's timezone.
Note: synced prod and test DB now.
update: this seems to be browser specific. (I deleted cookies to test to make sure that my history wasn't affecting anything; the only browser I used in the past to access the site was Chrome.)
Tor Browser: Correct Dates
Chrome Browser: Incorrect Dates
Safari Browser: Incorrect Dates
Issue reported by @LauraEst:
I’ve added a couple of programs to the DH Course Registry [...].
Even though I’ve entered the dates correctly:
You can see that the calendar has the dates all one day earlier than the ones I’ve input:
This has happened for all three that I entered. Should I leave it as is? https://dhcr.clarin-dariah.eu/courses/view/848 https://dhcr.clarin-dariah.eu/courses/view/850 https://dhcr.clarin-dariah.eu/courses/view/849
Comment @PixlTracer: my guess would be that this issue occurs because @LauraEst is located in a different time zone (ADT vs. CET), but I could be wrong... @patrickakk Perhaps this is related to Laura's time zone (Antigonish, Canada, Nova Scotia), could this be amended if she would simply set the start date to one day later than indicated?