Bug #1356
formatting of timestamps
Start date:
04/30/2014
Due date:
% Done:
0%
Description
The documentation shows modification time for files as “2010-04-10T14:10:01-07:00” which is ISO 8601 I suppose.
The implementation returns “Sun, 26 Jan 2014 14:43:38 GMT”. It would be great to get clarification about the format which I should expect to parse.
History
#1 Updated by cpg about 8 years ago
We use a format called TimeFormat in Go. It is like RFC1123 but hard codes GMT as the time zone. it's used commonly for http headers and similar http-related things.
we tried iso 8601, iirc, however, we stuck to TimeFormat because it worked well.
#2 Updated by cpg about 8 years ago
- Status changed from Assigned to Closed
#3 Updated by cpg about 8 years ago
this has been updated in the API docs v0.9.
Also available in: Atom