Opened 18 years ago
Closed 15 years ago
#434 closed defect (fixed)
Translate all times to UTC
Reported by: | Alec Thomas | Owned by: | Alec Thomas |
---|---|---|---|
Priority: | normal | Component: | XmlRpcPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.10 |
Description
All times should be in UTC, converted to/from localtime during transport.
Attachments (1)
Change History (7)
comment:1 Changed 18 years ago by
comment:2 Changed 18 years ago by
I have looked into the time conversion and I think the attached patch will at least resolve this report for the ticket API. It expects date objects to be in UTC.
All returned time stamps are integers (seconds elapsed since 1970 in UTC) so nothing needs be changed there.
comment:3 Changed 18 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:4 Changed 18 years ago by
Resolution: | fixed |
---|---|
Status: | closed → reopened |
Reopening because, as stp notes, this doesn't convert some timestamps in returned structures correctly.
comment:5 Changed 15 years ago by
As far as my testing goes I cannot see anything wrong when using current trunk and a fresh Trac 0.11.4+. If anyone has details/example of something that does not return expected value, please add it. If not I'll re-close the ticket again.
comment:6 Changed 15 years ago by
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
Does that mean all time stamps returned by XML-RPC currently in the server's time zone? If yes, is there a way to retrieve that time zone?