|Reported by:||mikaelm||Owned by:||nobody|
|Has patch:||no||Needs documentation:||no|
|Needs tests:||no||Patch needs improvement:||no|
If you have a datetimefield, and press the now button in the admin view you will enter the local time according to your computers timezone, and not according to the servers settings. This might confuse the user.
You have a blog that do not publish the blog post immediately, but after a specific date and time. By pressing the "now" button in the django admin the user would expect the blog post to appear immediately in the blog, but might not do that if the timezone of the server and the computer differ.
title = models.CharField(_("title"),max_length=200)
body = models.TextField(_("body"))
visible_after = models.DateTimeField(_("post visible after"))
This is perhaps not a bug, but might be perceived as such by the users. One solution would use some ajax-magic that queries the server for the server's own localtime.
Change History (6)
comment:1 Changed 7 years ago by ubernostrum
- Needs documentation unset
- Needs tests unset
- Patch needs improvement unset
comment:2 Changed 7 years ago by ubernostrum
- Resolution set to invalid
- Status changed from new to closed
comment:4 Changed 4 years ago by aaugustin
- Easy pickings unset
- Severity set to Normal
- Type set to Uncategorized
- UI/UX unset