Skip to content

Commit

Permalink
works on firefox now
Browse files Browse the repository at this point in the history
  • Loading branch information
14ROVI committed Jan 30, 2023
1 parent 397168f commit 1381818
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ async function loadEvents() {
event.text = text;
let data = extractor(event.text);
event.attributes = data.attributes;
event.attributes.date = new Date(event.attributes.date);
event.attributes.date_end = new Date(event.attributes.date_end);
event.attributes.date = new Date(event.attributes.date.replace(" ", "T").replace(" ", ""));
event.attributes.date_end = new Date(event.attributes.date_end.replace(" ", "T").replace(" ", ""));
event.body = data.body;
});
promises.push(promise);
Expand Down

0 comments on commit 1381818

Please sign in to comment.