Added option to set custom day and month

This commit is contained in:
Paweł Malak
2021-11-05 17:16:19 +01:00
parent 7febd59ad7
commit bce51bb2c4
12 changed files with 99 additions and 9 deletions

View File

@@ -1,5 +1,5 @@
export const getDateTime = (): string => {
const days = [
const days = localStorage.getItem('daySchema')?.split(';') || [
'Sunday',
'Monday',
'Tuesday',
@@ -8,7 +8,8 @@ export const getDateTime = (): string => {
'Friday',
'Saturday',
];
const months = [
const months = localStorage.getItem('monthSchema')?.split(';') || [
'January',
'February',
'March',