Edgewall Software
Modify

Opened 18 years ago

Closed 18 years ago

#4758 closed defect (fixed)

timeline default date is tomorrow

Reported by: Sergei Haller <sergei@…> Owned by: Jonas Borgström
Priority: normal Milestone: 0.11
Component: timeline Version: devel
Severity: trivial Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

the line in trac/timeline/web_ui.py

    fromdate = today = datetime.now(utc)

shouldn't use the utc, but the time zone set in users prefs.

BTW: is it possible to set the default time zone for all users of a project?

Attachments (0)

Change History (3)

comment:1 by Sergei Haller <sergei@…>, 18 years ago

o yes, forgot to explain the tomorrow thing. I am in GMT+11 so after 11:00 morning, UTC has the same date as me. so the default date gets set to same date, 23:59:59 (UTC) and after conversion (sometime later) to my time zone it is tomorrow, 10:59:59.

comment:2 by Christian Boos, 18 years ago

Milestone: 0.11
Severity: normaltrivial

Ok, the "today" notion should be the one of the user.

BTW: is it possible to set the default time zone for all users of a project?

It's normally the local time zone of the server which should be used as a fallback.

comment:3 by Christian Boos, 18 years ago

Resolution: fixed
Status: newclosed

Fixed in r4758.

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.