Toggle navigation
Toggle navigation
This project
Loading...
Sign in
HyeonJun Jeon
/
Extended-Calendar
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
HyeonJun Jeon
2022-06-04 21:52:35 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
c2f75fc45df6491d42dc3df749f2f312ed68584a
c2f75fc4
1 parent
3580f2df
[Del] Debug logic
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
6 deletions
server/libs/ICal.js
server/libs/ICal.js
View file @
c2f75fc
const
fs
=
require
(
"fs"
);
function
parseICal
(
text
)
{
const
schedules
=
[];
let
sche
=
{};
...
...
@@ -96,8 +94,4 @@ function getTimestr_z(zstr) {
return
date
.
toTimeString
().
substring
(
0
,
8
);
}
// const fdata = fs.readFileSync("C:/Users/teddy/Downloads/data.ics", "utf8");
// const jcal = parseICal(fdata);
// console("done");
module
.
exports
=
parseICal
;
...
...
Please
register
or
login
to post a comment