1
0
Fork 0
mirror of https://github.com/pawelmalak/flame.git synced 2025-07-21 12:29:36 +02:00

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',