Make parser more lenient for date-time values (invalid date-time value: "2015-08-12T::")
See original GitHub issueI get the Error Uncaught Error: invalid date-time value: “2015-08-12T::”
in line
if(iCalEvent.startDate)
the ical file:
BEGIN:VCALENDAR
VERSION:2.0
METHOD:PUBLISH
BEGIN:VEVENT
UID:45574333
SUMMARY:ERANOS-Ensemble für Alte Musik - Arbeitswoche
DESCRIPTION:Ltg.: Prof. Frank Löhr Anmeldung für interessierte Zuhörer unter: info@musikfreunde.org
(Veranstalter: Gesellschaft der Musikfreunde Marienmünster)
LOCATION:Marienmünster
CLASS:PUBLIC
DTSTART:20150812
DTEND:20150814
DTSTAMP:20150813T131400Z
END:VEVENT
END:VCALENDAR
Outlook read this file as an all day event from 12.08.2015 to 14.08.2015.
Issue Analytics
- State:
- Created 8 years ago
- Reactions:1
- Comments:6 (2 by maintainers)
Top Results From Across the Web
Make parser more lenient for date-time values (invalid date ...
The problem is that the DTSTART and DTEND in your ics data uses the default value type ( DATE-TIME ), since it does...
Read more >Java 8 LocalDateTime is parsing invalid date - Stack Overflow
You just need a strict ResolverStyle . Parsing a text string occurs in two phases. Phase 1 is a basic text parse according...
Read more >datetime — Basic date and time types — Python 3.11.1 ...
Returns a string representation of the timedelta object as a constructor call with canonical attribute values. Notes: This is exact but may overflow....
Read more >DateFormat (Java Platform SE 7 ) - Oracle Help Center
Specify whether or not date/time parsing is to be lenient. void, setNumberFormat(NumberFormat newNumberFormat). Allows you to set the number formatter. void ...
Read more >RangeError: invalid date - JavaScript - MDN Web Docs
The JavaScript exception "invalid date" occurs when a string leading to an invalid date has been provided to Date or Date.parse().
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
change in ical.js line 5587
I’m working on a new patch that will make DATE, DATE-TIME, and PERIOD values more lenient when setting a specific flag for the parser. I’m pretty far through, just need to do some clean up, make sure I’m happy with the level of leniency, and check if there are other properties that might need similar treatment.