gra0007 / modern-cal-embed Goto Github PK
View Code? Open in Web Editor NEWA browser-side ical embed.
Home Page: https://gra0007.github.io/modern-cal-embed/
License: MIT License
A browser-side ical embed.
Home Page: https://gra0007.github.io/modern-cal-embed/
License: MIT License
Hi I am getting this error with pretty much every calendar I try. Seems the date parsing is off somehow?
caught (in promise) Error: invalid date-time value: "2022-01-01T::"
at ICAL.Time.fromDateTimeString (ical.js:5901:13)
at Object.decorate (ical.js:781:28)
at r._decorate (ical.js:2939:47)
at r._hydrateValue (ical.js:2922:44)
at r.getFirstValue (ical.js:3068:19)
at r.getFirstPropertyValue (ical.js:2500:21)
at t._firstProp (ical.js:9318:29)
at get endDate [as endDate] (ical.js:9148:26)
at parseCalendar (embed.js:474:24)
at embed.js:518:4
I
I have a .ics
file that has events that do not have a location value, they are null
. These .ics
files are not renderable with this. See the error message.
It seems like Chrome is complaining about this line, line 126 in embed.js
.
if (event.location.startsWith('http')) {
I have already fixed this, see linked PR (#3).
The public demo of CORS Anywhere implemented some usage restrictions some time back and I found a replacement that's been running for a few years now.
Here's the playground and blog post about it by Grida.
And here's the usage:
https://proxy.cors.sh/https://your-server.com
Just wanted to share in case if you want to replace the references of CORS Anywhere with this. CORS Anywhere requires interaction before it works, while this just works (but also has extremely reasonable rate limits).
This is an amazing calendar. I use it on my website.
What would make it really perfect is if I could change the time to a 24:00 format. And if the links in the events are clickable (at the moment they just show as text)
Is there a way I could do this?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.