Modify ↓
Opened 18 years ago
Closed 18 years ago
#4758 closed defect (fixed)
timeline default date is tomorrow
Reported by: | 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 , 18 years ago
comment:2 by , 18 years ago
Milestone: | → 0.11 |
---|---|
Severity: | normal → trivial |
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.
Note:
See TracTickets
for help on using tickets.
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.