You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@roller.apache.org by "Kohei Nozaki (JIRA)" <ji...@apache.org> on 2015/04/30 16:43:06 UTC

[jira] [Updated] (ROL-2076) Links based on date wrongly produced on multi-timezone environment

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

Kohei Nozaki updated ROL-2076:
------------------------------
    Attachment: calendarbug03.png
                calendarbug02.png
                calendarbug01.png

I guess they are the tip of an iceberg.

> 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: 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 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)