Skip to content

Commit b7d9ad6

Browse files
committed
feat: use today as start date
1 parent cd2f16d commit b7d9ad6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/App.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,15 @@ import { Footer } from './style/Footer'
44
import { Main, Info } from './style/Main'
55
import { GlobalStyle } from './style/Global'
66
import { Schedule } from './Schedule'
7+
import { format } from 'date-fns'
78

89
import LockIcon from 'feather-icons/dist/icons/lock.svg'
910
import UnLockIcon from 'feather-icons/dist/icons/unlock.svg'
1011

1112
export const App = () => {
1213
let cfg = {
1314
name: 'ExampleConf',
14-
day: '2020-11-21',
15+
day: format(new Date(), 'yyyy-MM-dd'),
1516
tz: 'Europe/Oslo',
1617
sessions: {
1718
900: 'Arrival & Breakfast',

0 commit comments

Comments
 (0)