Thanks for the update Sean. I'm sure others have run into the same issue :)
Eric On Mar 16, 9:17 am, Sean Smith <[email protected]> wrote: > Eric, thanks for clarifying this. > I went ahead and made the change to Zulu time and all is well. > > The Java implementation of SimpleDateFormat formats time offsets of Z > in the no colon format. +/-hhmm [Java 1.5] > Escaping the 'Z' in the format String and setting the formatter > timezone to UTC solved this for me. > > On Feb 28, 9:51 pm, "Eric (Google)" <[email protected]> wrote: > > > Hi Sean, > > > Thanks for the investigation. If you give the > > timezone as -07:00, it should work: > > <ExactDateTime>2008-01-16T00:00:00-07:00</ExactDateTime> > > > However, ISO8601 specifies that you can drop the ':' > > and we're not allowing that :(http://en.wikipedia.org/wiki/ISO_8601 > > > I've filed an internal bug, but feel free to open > > one on our public issue > > tracker:http://code.google.com/p/gdata-issues/issues/entry > > > Thanks, > > Eric > > > On Feb 25, 10:11 am, Sean Smith <[email protected]> wrote: > > > > It looks like ExactDateTime tags that include an offset such as -0700 > > > are no longer supported. I have found that if I convert the time to > > > UTC and use the trailing Z format the messages are accepted. I'm > > > guessing I am going to have to implement this change on my end, but is > > > there anyway /Health can accept the offset times like > > > 2008-01-16T00:00:00-0700 again? > > > > Thanks. > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Health Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/googlehealthdevelopers?hl=en -~----------~----~----~----~------~----~------~--~---
