Kohei Nozaki created ROL-2076:
---------------------------------
Summary: Links based on date wrongly produced on multi-timezone
environment
Key: ROL-2076
URL: https://issues.apache.org/jira/browse/ROL-2076
Project: Apache Roller
Issue Type: Bug
Components: User Interface - General
Affects Versions: 5.1.2
Environment: The problem is reproducible in both of
* WildFly 8.2.0.Final + PostgreSQL 9.3.4
* Tomcat 7.0.54 + PostgreSQL 9.2.10
Reporter: Kohei Nozaki
Assignee: Roller Unassigned
In multi-timezone environment such as
* System timezone is GMT+9 (Japan)
* Blog timezone is GMT-6 or -5 (Chicago)
Links based on date wrongly produced. I'll attach some of screen shots here so
that we can grasp the problem easily.
The cause is absense of explicitly time zone setting in use of {{Calendar}} or
{{SimpleDateFormat}}. I found many of problematic implementation in many
sources, but I have not fixed them all yet.
A workaround is that setting a same time zone to system timezone and blog
timezone, but I believe they should be fixed because Roller can manage multiple
blogs and they may have multiple time zones.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)