HI,
Can someone tell me how this Google event is parsed to the ‘data’ structure in calendarfetcher.js ?
basic.ics part. (correct):
BEGIN:VEVENT
DTSTART;VALUE=DATE:20200330
DTEND;VALUE=DATE:20200331
DTSTAMP:20200329T132348Z
UID:xxxl8quduqtvqbfe00fsk8xxx@google.com
CREATED:20200329T132240Z
DESCRIPTION:
LAST-MODIFIED:20200329T132240Z
LOCATION:
SEQUENCE:0
STATUS:CONFIRMED
SUMMARY:TEST_ENTRY_FULLDAY
TRANSP:TRANSPARENT
END:VEVENT
calendarfetcher.js part (incorrect):
0|mm | { type: 'VEVENT',
0|mm | params: [],
0|mm | start: { 2020-03-29T22:00:00.000Z tz: undefined, dateOnly: true },
0|mm | end: { 2020-03-30T22:00:00.000Z tz: undefined, dateOnly: true },
0|mm | dtstamp: { 2020-03-29T13:23:15.000Z tz: undefined },
0|mm | uid: 'xxxul8quduqtvqbfe00fsk8xxx@google.com',
0|mm | created: { 2020-03-29T13:22:40.000Z tz: undefined },
0|mm | description: '',
0|mm | lastmodified: { 2020-03-29T13:22:40.000Z tz: undefined },
0|mm | location: '',
0|mm | sequence: '0',
0|mm | status: 'CONFIRMED',
0|mm | summary: 'TEST_ENTRY_FULLDAY',
0|mm | transparency: 'TRANSPARENT' }
The background of this question, is that a full day event for tomorrow, is shown on the MM as Today.
Based on the start and end date from the calendar module, this may seem right, but does not match my correct Google calendar DTSTART and DTEND dates.
This annoys me already for some time (also happens for reoccurring full day events) and I wanted to see where it might go wrong.
Unfortunately I am not skilled enough to see where the actual parsing part takes place.
It seems to me ‘locale’ or timezone issue and converting to unixtime.
And it also annoys me that it shows as Today or in XX Days, when I would like to see it as Mon Mar 30th, like my normal events.
Greetings,
E.J.