mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-28 12:12:20 +00:00
commit
a201ef4e53
@ -108,6 +108,10 @@ function ical_parser(feed_url, callback){
|
|||||||
type = ln.substr(0,idx).replace(/^\s\s*/, '').replace(/\s\s*$/, '');//Trim
|
type = ln.substr(0,idx).replace(/^\s\s*/, '').replace(/\s\s*$/, '');//Trim
|
||||||
val = ln.substr(idx+1).replace(/^\s\s*/, '').replace(/\s\s*$/, '');
|
val = ln.substr(idx+1).replace(/^\s\s*/, '').replace(/\s\s*$/, '');
|
||||||
|
|
||||||
|
if(typeof cur_event[type] !== 'undefined'){
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
//If the type is a start date, proccess it and store details
|
//If the type is a start date, proccess it and store details
|
||||||
if(type =='DTSTART'){
|
if(type =='DTSTART'){
|
||||||
dt = this.makeDate(val);
|
dt = this.makeDate(val);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user