Edgewall Software
Modify

Opened 16 years ago

Closed 16 years ago

#7221 closed defect (fixed)

Dates are parsed according to user timezone but formated as GMT/UTC

Reported by: cdokolas@… Owned by: Jonas Borgström
Priority: normal Milestone: 0.11
Component: i18n Version: 0.11rc1
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

Server is in Athens/Greece Timezone (GMT+2). Client is the same.

When I input a due date in the milestone edit page (admin), the date of the previous day appears in the Milestones admin page. The roadmap page also shows the same date (1 day early), but the tooltip in the "Due in X days shows the corresponding GMT midnight date/time (i.e. I input 15/05/2008, I see 14/05/2008, but the tooltip says "2008-05-14T23:00:00Z+0200 in Timeline").

It seems that dates are parsed according to the user's timezone setting (I've set mine to GMT+2:00), but are always shown as GMT date, even for editing. For example, I repeatedly edit a Milestone simply pressing "Save" on the form and the date keeps going back a day each time.

In my mind, if a user sets his personal timezone, then everything should be formatted for display for that timezone and parsed (as coming) from than timezone.

Attachments (0)

Change History (4)

comment:1 by anonymous, 16 years ago

Milestone: 0.11

comment:2 by cdokolas@…, 16 years ago

Component: generali18n
Owner: changed from Jonas Borgström to Christopher Lenz

Also, previous update to include in milestone 0.11 was also mine, sorry for the omission. You should really get this checked and fixed soon!

Thanks :)

comment:3 by Jonas Borgström, 16 years ago

Owner: changed from Christopher Lenz to Jonas Borgström
Status: newassigned

Sounds like req.tz not being used.

comment:4 by Jonas Borgström, 16 years ago

Resolution: fixed
Status: assignedclosed

Fixed in r7215 (0.11-stable) and r7216 (trunk).

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jonas Borgström to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.