[ 
https://issues.apache.org/jira/browse/ROL-2076?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Kohei Nozaki updated ROL-2076:
------------------------------
    Description: 
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 that this problem should be fixed because Roller can 
manage multiple blogs and they may have multiple time zones.


  was:
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.



> 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
>         Attachments: ROL-2076-incomplete.patch, calendarbug01.png, 
> calendarbug02.png, calendarbug03.png
>
>
> 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 that this problem 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)

Reply via email to