Publish Date field skews on post preview where site default time zone is UTC and user time is UTC or inferred
- Status
- Open
- Subject
- Publish Date field skews on post preview where site default time zone is UTC and user time is UTC or inferred
- Version
- 14.x
- Category
- Usability
- Feature
- Blog
- Resolution status
- New
- Submitted by
- aexoxea
- Lastmod by
- aexoxea
- Rating
- Related-to
- Description
When using the Blog feature under Tiki 14, if...:
- the site default timezone is set to UTC, and
- a user with blog posting privileges has their timezone set to UTC or Local (i.e. their timezone is being inferred by Tiki)
...then, if the user works on a new blog post and uses the 'preview' feature, when the page reloads after requesting the preview, the Publish Date will be skewed by the difference between UTC and the inferred Local timezone.The skew is also compounding; if 'preview' is used multiple times, the Publish Date can end up being quite distant from the actual date and time of the blog post.
I have related tickets 1579 and 4007 as they describe similar behaviour in the Banners feature; please feel free to un-relate if they are not pertinent.
Edit 2015-10-22: After demonstrating on show.t.o, it appears the skew may relate to the timezone of the underlying server, rather than what is being inferred by Tiki from the user. However, it is still the case that setting an explicit timezone alleviates the issue.- Workaround
This can be worked around by:
- setting a timezone other than UTC for the site or user, or
- correcting the Publish Date before saving the post.
- Importance
- 4
- Priority
- 20
- Demonstrate Bug on Tiki 19+
-
This bug has been demonstrated on show2.tiki.org
Please demonstrate your bug on show2.tiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show2.tiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Demonstrate Bug (older Tiki versions)
-
This bug has been demonstrated on show.tikiwiki.org
Please demonstrate your bug on show.tikiwiki.org
Show.tiki.org is not configured properlyThe public/private keys configured to connect to show.tikiwiki.org were not accepted. Please make sure you are using RSA keys. Thanks.
- Ticket ID
- 5737
- Created
- Thursday 22 October, 2015 12:25:45 UTC
by aexoxea - LastModif
- Thursday 22 October, 2015 13:00:51 UTC