baramofme / notion-gcal-sync-appsscript

0 stars 0 forks source link

extra props not converted proprely during notion to common event object #8

Closed baramofme closed 1 month ago

baramofme commented 1 month ago
** Proxy Getter and Setters
✔ PASSED: Proxy Events Object should be identical
✔ PASSED: Proxy getter working
** Convert Processing
✔ PASSED: before and after props value matched
❌ FAILED: extra props processed properly
{
  nPageId: 'd05dc0a8-6d42-4cfd-98e1-22265a21c11d',
  gCalCalId: 'baram204@gmail.com',
  gCalName: '개인',
  gCalEId: 'ip492v7t168cu5uct0elmt4pqs',
  gCalSummary: '11시 취침 시도 #4',
  description: '',
  location: '',
  start: '2024-07-12T00:00:00',
  end: '2024-07-12T00:30:00.000Z',
  lastEditedTime: '2024-07-12T14:31:00.000Z',
  // below is extra props
  hasDate: true,
  allDay: undefined,
  lastSyncDate: 0,
  recentlyUpdated: true,
  calendarMatched: false,
  hasGcalInfo: '개인'
}

allday value should be boolean type. lastSyncDate value sould be string type. hasGcalInfo value sould be boolean type.

need to check calendarMatched: false,

currrently passed hasDate: true, recentlyUpdated: true,

baramofme commented 1 month ago

takes a lot of time to check and fix...

baramofme commented 1 month ago

Fix !!!!!! 4ce1e057bf7686e2e6f7c13a8fdb1dae2003b3c6

Jesus, the date handling is so picky!!!!