Showing
1 changed file
with
0 additions
and
6 deletions
| 1 | -const fs = require("fs"); | ||
| 2 | - | ||
| 3 | function parseICal(text) { | 1 | function parseICal(text) { |
| 4 | const schedules = []; | 2 | const schedules = []; |
| 5 | let sche = {}; | 3 | let sche = {}; |
| ... | @@ -96,8 +94,4 @@ function getTimestr_z(zstr) { | ... | @@ -96,8 +94,4 @@ function getTimestr_z(zstr) { |
| 96 | return date.toTimeString().substring(0, 8); | 94 | return date.toTimeString().substring(0, 8); |
| 97 | } | 95 | } |
| 98 | 96 | ||
| 99 | -// const fdata = fs.readFileSync("C:/Users/teddy/Downloads/data.ics", "utf8"); | ||
| 100 | -// const jcal = parseICal(fdata); | ||
| 101 | -// console("done"); | ||
| 102 | - | ||
| 103 | module.exports = parseICal; | 97 | module.exports = parseICal; | ... | ... |
-
Please register or login to post a comment