Skip to content

Commit 93275e8

Browse files
committed
Fix: demo on Firefox
1 parent d5fad0d commit 93275e8

File tree

2 files changed

+14
-14
lines changed

2 files changed

+14
-14
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@ import { TimeGridScheduler, classes } from '@remotelock/react-week-scheduler';
2323
import '@remotelock/react-week-scheduler/index.css';
2424

2525
const rangeStrings = [
26-
['2019-03-03T22:45:00.000Z', '2019-03-04T01:15:00.000Z'],
27-
['2019-03-04T22:15:00.000Z', '2019-03-05T01:00:00.000Z'],
28-
['2019-03-05T22:00:00.000Z', '2019-03-06T01:00:00.000Z'],
29-
['2019-03-06T22:00:00.000Z', '2019-03-07T01:00:00.000Z'],
30-
['2019-03-07T05:30:00.000Z', '2019-03-07T10:00:00.000Z'],
31-
['2019-03-08T22:00:00.000Z', '2019-03-09T01:00:00.000Z'],
32-
['2019-03-09T22:00:00.000Z', '2019-03-10T01:00:00.000Z'],
26+
['2019-03-04 00:15', '2019-03-04 01:45'],
27+
['2019-03-05 09:00', '2019-03-05 10:30'],
28+
['2019-03-06 22:00', '2019-03-06 22:30'],
29+
['2019-03-07 01:30', '2019-03-07 03:00'],
30+
['2019-03-07 05:30', '2019-03-07 10:00'],
31+
['2019-03-08 12:30', '2019-03-08 01:30'],
32+
['2019-03-09 22:00', '2019-03-09 23:59'],
3333
];
3434

3535
const defaultSchedule = rangeStrings.map(range =>

demo/index.tsx

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -48,13 +48,13 @@ const classes = mapValues(
4848
);
4949

5050
const rangeStrings: [string, string][] = [
51-
['2019-03-03T22:45:00.000Z', '2019-03-04T01:15:00.000Z'],
52-
['2019-03-04T22:15:00.000Z', '2019-03-05T01:00:00.000Z'],
53-
['2019-03-05T22:00:00.000Z', '2019-03-06T01:00:00.000Z'],
54-
['2019-03-06T22:00:00.000Z', '2019-03-07T01:00:00.000Z'],
55-
['2019-03-07T05:30:00.000Z', '2019-03-07T10:00:00.000Z'],
56-
['2019-03-08T22:00:00.000Z', '2019-03-09T01:00:00.000Z'],
57-
['2019-03-09T22:00:00.000Z', '2019-03-10T01:00:00.000Z'],
51+
['2019-03-04 00:15', '2019-03-04 01:45'],
52+
['2019-03-05 09:00', '2019-03-05 10:30'],
53+
['2019-03-06 22:00', '2019-03-06 22:30'],
54+
['2019-03-07 01:30', '2019-03-07 03:00'],
55+
['2019-03-07 05:30', '2019-03-07 10:00'],
56+
['2019-03-08 12:30', '2019-03-08 01:30'],
57+
['2019-03-09 22:00', '2019-03-09 23:59'],
5858
];
5959

6060
const defaultSchedule: ScheduleType = rangeStrings.map(

0 commit comments

Comments
 (0)