Skip to content

Commit 3d25595

Browse files
committed
fixes typos
1 parent 6e77897 commit 3d25595

1 file changed

Lines changed: 12 additions & 12 deletions

File tree

src/context.jsx

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -30,18 +30,18 @@ function AppContext ({ children }) {
3030
*/
3131
function formatDate (date) {
3232
const monthsInAYear = [
33-
{ longname: 'January', shortName: 'Jan' },
34-
{ longname: 'February', shortName: 'Feb' },
35-
{ longname: 'March', shortName: 'Mar' },
36-
{ longname: 'April', shortName: 'Apr' },
37-
{ longname: 'May', shortName: 'May' },
38-
{ longname: 'June', shortName: 'Jun' },
39-
{ longname: 'July', shortName: 'Jul' },
40-
{ longname: 'August', shortName: 'Aug' },
41-
{ longname: 'Spetember', shortName: 'Sep' },
42-
{ longname: 'October', shortName: 'Oct' },
43-
{ longname: 'Novermber', shortName: 'Nov' },
44-
{ longname: 'December', shortName: 'Dec' }
33+
{ longName: 'January', shortName: 'Jan' },
34+
{ longName: 'February', shortName: 'Feb' },
35+
{ longName: 'March', shortName: 'Mar' },
36+
{ longName: 'April', shortName: 'Apr' },
37+
{ longName: 'May', shortName: 'May' },
38+
{ longName: 'June', shortName: 'Jun' },
39+
{ longName: 'July', shortName: 'Jul' },
40+
{ longName: 'August', shortName: 'Aug' },
41+
{ longName: 'September', shortName: 'Sep' },
42+
{ longName: 'October', shortName: 'Oct' },
43+
{ longName: 'November', shortName: 'Nov' },
44+
{ longName: 'December', shortName: 'Dec' }
4545
]
4646
const unformattedDate = new Date(date)
4747
const year = unformattedDate.getFullYear()

0 commit comments

Comments
 (0)