roller-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kohei Nozaki (JIRA)" <>
Subject [jira] [Updated] (ROL-2076) Links based on date wrongly produced on multi-timezone environment
Date Sat, 02 May 2015 04:43:08 GMT


Kohei Nozaki updated ROL-2076:
    Attachment: ROL-2076.patch-update1.patch

I think I fixed the problem in following pages, at least:

* Calendars (big calendar and regular calendar)
** Caption
** Links to each day
* Month based pagination (appears in URL like {{/roller/handle/date/201504}})
* Day based pagination (appears in URL like {{/roller/handle/date/20150423}})

But not sure if there are other functions that affected by this problem. I'd appreciate if
anyone tell me what suspecious functions / pages are.

> Links based on date wrongly produced on multi-timezone environment
> ------------------------------------------------------------------
>                 Key: ROL-2076
>                 URL:
>             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, ROL-2076.patch-update1.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
> 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

View raw message