Wiki article was last changed tomorrow
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Widelands Website |
Fix Released
|
Medium
|
Unassigned |
Bug Description
When users are logged in, wiki changes or forum posts from the same day is converted from the actual date to "today". This is quite neat, however it is strangely enough possible to edit a wiki article and be informed that it was last changed tomorrow. I managed to trigger this by updating an article late in the evening. I use default time zone / time display.
I assume the reason is due to differences between time zones near midnight which turns what is today in one time zone into tomorrow in another. Still it looks a bit weird. I am not sure if this is solvable without removing the conversion from [current_date] to "today". I am not sure if it should be done either, as I can easily live with the current behaviour.
Related branches
Changed in widelands-website: | |
importance: | Low → Medium |
status: | New → In Progress |
Changed in widelands-website: | |
status: | In Progress → Confirmed |
Changed in widelands-website: | |
status: | Confirmed → Fix Released |
We may have to consider the whole timezone support in our project. For example we use
USE_TZ=False
which causes the using of local time, afaik.
See: https:/ /docs.djangopro ject.com/ en/1.10/ topics/ i18n/timezones/ /docs.djangopro ject.com/ en/1.10/ topics/ i18n/timezones/ #migration- guide
Especially when changing USE_TZ: https:/