You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/constants/months.ts
+8Lines changed: 8 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -194,6 +194,14 @@ export const months = [
194
194
},
195
195
]asconst
196
196
197
+
/**
198
+
* @description
199
+
* This is the data for the months of the year.
200
+
* The first element of the tuple is the number of days in each month.
201
+
* Each month is an array of 3 elements. The first element is the number of days after which the month starts and the second element is the number of days in the month. The third element is the number of days after which next month starts.
202
+
* The second element of the tuple is the total number of days in the year.
0 commit comments