Skip to content

Commit 09ff119

Browse files
committed
add some comment on foreign code
1 parent 2e41af8 commit 09ff119

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

date.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ type DateArray = number[];
1616
export type DateData = DateArray | Date;
1717

1818
// The following code is copied from https://github.com/adamgibbons/ics/blob/master/src/utils/format-date.js
19+
// Tiny modification is done to make it compatible with typescript
1920

2021
const pad = (n: number) => (n < 10 ? `0${n}` : `${n}`);
2122

0 commit comments

Comments
 (0)