hi,
i'm writing a simple program to query data from the google spreadsheet api. in the result of a feed there is a field
<updated>2011-07-27T10:29:03.925Z</updated>
in the
reference this timestamp is described as RFC3339. so i tried to parse it with
time.Parse (time.RFC3339, "2011-07-27T10:29:03.925Z")
but
Error: parsing time "2011-07-27T10:29:03.925Z" as "2006-01-02T15:04:05Z07:00": cannot parse ".925Z" as "Z07:00"
yes, google returns a fraction in the seconds! ok, now i tried the following:
time.Parse (time.RFC3339, time.RFC3339)
and oops:
Error: parsing time "2006-01-02T15:04:05Z07:00": extra text: 07:00
shouldn't the Parse-Function be able to parse the format? is this a bug or am i'm doing something completely wrong?
thank you
</usc>