sasa-sasa / as3googlecalendarlib

Automatically exported from code.google.com/p/as3googlecalendarlib
0 stars 0 forks source link

GoogleCalendarEventVO addWhen method subtract one hour from datetime values. #1

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago

1. create an instance of GoogleCalendarEventVO
2. invoke method addWhen for a partial day event
3. trace your datetime values in console
4. capture http request 

What is the expected output? What do you see instead?

From the flash trace

590541 > GoogleCalendar0 : startDate 02:15:15 AM
590541 > GoogleCalendar0 : endDate 02:25:15 AM

the packet sniffed

<entry xmlns:gd="http://schemas.google.com/g/2005"
xmlns="http://www.w3.org/2005/Atom">
  null
  <title type="text">Gungor send me a text</title>
  <content type="text">Lorem ipsum sit amet bla bla momo nene sade ruma
chello cid sioferma nome sallatio</content>
  <gd:where valueString="Barcelona"
rel="http://schemas.google.com/g/2005#event" label="Event location"/>
  <gd:when startTime="2009-03-17T01:15:15" endTime="2009-03-17T01:25:15">
    <gd:reminder method="sms" minutes="10"/>
  </gd:when>
  <gd:transparency value="http://schemas.google.com/g/2005#event.opaque"/>
  <gd:eventStatus value="http://schemas.google.com/g/2005#event.confirmed"/>
</entry>

Please fix serialization in file GoogleCalendarEventVO.as 
lines 152 and 156

thank your for your efforts.

Original issue reported on code.google.com by mmonti@gmail.com on 17 Mar 2009 at 1:24