Skip to content
This repository has been archived by the owner on Sep 20, 2018. It is now read-only.

RangeError: Invalid time value #61

Open
clochix opened this issue Oct 19, 2016 · 0 comments
Open

RangeError: Invalid time value #61

clochix opened this issue Oct 19, 2016 · 0 comments
Labels

Comments

@clochix
Copy link
Contributor

clochix commented Oct 19, 2016

Seen in user logs:

error - model:event | RangeError: Invalid time value
    at Date.toISOString (native)
    at convertISO (/usr/local/cozy/apps/import-from-google/build/server/models/event.js:72:39)
    at Function.Event.fromGoogleEvent (/usr/local/cozy/apps/import-from-google/build/server/models/event.js:83:10)
    at /usr/local/cozy/apps/import-from-google/build/server/utils/import_calendar.js:126:29
    at iterate (/usr/local/cozy/apps/import-from-google/node_modules/async/lib/async.js:146:13)
    at null._onTimeout (/usr/local/cozy/apps/import-from-google/node_modules/async/lib/async.js:157:25)
    at Timer.listOnTimeout (timers.js:92:15)

The wrongly formated date is 10000-01-01T00:59:59+01:00

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

1 participant