etesync / etesync-web

An EteSync web client
https://www.etesync.com
GNU Affero General Public License v3.0
243 stars 30 forks source link

"invalid date-time value" after importing events from ical #272

Open DanNixon opened 6 months ago

DanNixon commented 6 months ago

After importing some iCal events I find that I get several instances of this error in the "Errors" list, and am no longer able to open the collection (menu > Collections > affected calendar) for the affected calendar (the calendar view itself continues to work, just without the events in question).

Every other iCal import I have done has worked, it is just two specific files that seem to cause a problem.

Full error when trying to access the collection is:

Something went wrong!

invalid date-time value: "2024--0-2-T2T::::"

ICAL.Time.fromDateTimeString@https://pim.etesync.com/static/js/2.33caf9b7.chunk.js:2:57189
decorate@https://pim.etesync.com/static/js/2.33caf9b7.chunk.js:2:14586
_decorate@https://pim.etesync.com/static/js/2.33caf9b7.chunk.js:2:34033
_hydrateValue@https://pim.etesync.com/static/js/2.33caf9b7.chunk.js:2:33928
getFirstValue@https://pim.etesync.com/static/js/2.33caf9b7.chunk.js:2:35010
getFirstPropertyValue@https://pim.etesync.com/static/js/2.33caf9b7.chunk.js:2:30540
_firstProp@https://pim.etesync.com/static/js/2.33caf9b7.chunk.js:2:89841
get startDate@https://pim.etesync.com/static/js/2.33caf9b7.chunk.js:2:88199
get@https://pim.etesync.com/static/js/main.aaa47d55.chunk.js:1:143263
value@https://pim.etesync.com/static/js/main.aaa47d55.chunk.js:1:144164
r@https://pim.etesync.com/static/js/main.aaa47d55.chunk.js:1:189048
t/r._cellRenderer@https://pim.etesync.com/static/js/2.33caf9b7.chunk.js:2:1163345
cellRangeRenderer@https://pim.etesync.com/static/js/2.33caf9b7.chunk.js:2:1137884
value@https://pim.etesync.com/static/js/2.33caf9b7.chunk.js:2:1128662
value@https://pim.etesync.com/static/js/2.33caf9b7.chunk.js:2:1125905
Pa@https://pim.etesync.com/static/js/2.33caf9b7.chunk.js:2:1615783
Na@https://pim.etesync.com/static/js/2.33caf9b7.chunk.js:2:1615576
pA@https://pim.etesync.com/static/js/2.33caf9b7.chunk.js:2:1651487
cs@https://pim.etesync.com/static/js/2.33caf9b7.chunk.js:2:1642704
As@https://pim.etesync.com/static/js/2.33caf9b7.chunk.js:2:1642627
$A@https://pim.etesync.com/static/js/2.33caf9b7.chunk.js:2:1639636
Ji/<@https://pim.etesync.com/static/js/2.33caf9b7.chunk.js:2:1591021
t.unstable_runWithPriority@https://pim.etesync.com/static/js/2.33caf9b7.chunk.js:2:1666602
Ui@https://pim.etesync.com/static/js/2.33caf9b7.chunk.js:2:1590730
Ji@https://pim.etesync.com/static/js/2.33caf9b7.chunk.js:2:1590968
zi@https://pim.etesync.com/static/js/2.33caf9b7.chunk.js:2:1590901
WA@https://pim.etesync.com/static/js/2.33caf9b7.chunk.js:2:1636418
da@https://pim.etesync.com/static/js/2.33caf9b7.chunk.js:2:1608138
548/vi/</<@https://pim.etesync.com/static/js/main.aaa47d55.chunk.js:1:256673