We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2e41af8 commit 09ff119Copy full SHA for 09ff119
date.ts
@@ -16,6 +16,7 @@ type DateArray = number[];
16
export type DateData = DateArray | Date;
17
18
// 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
20
21
const pad = (n: number) => (n < 10 ? `0${n}` : `${n}`);
22
0 commit comments