Skip to content

Commit

Permalink
Fix: demo on Firefox
Browse files Browse the repository at this point in the history
  • Loading branch information
forabi committed Jun 29, 2019
1 parent d5fad0d commit 93275e8
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 14 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ import { TimeGridScheduler, classes } from '@remotelock/react-week-scheduler';
import '@remotelock/react-week-scheduler/index.css';

const rangeStrings = [
['2019-03-03T22:45:00.000Z', '2019-03-04T01:15:00.000Z'],
['2019-03-04T22:15:00.000Z', '2019-03-05T01:00:00.000Z'],
['2019-03-05T22:00:00.000Z', '2019-03-06T01:00:00.000Z'],
['2019-03-06T22:00:00.000Z', '2019-03-07T01:00:00.000Z'],
['2019-03-07T05:30:00.000Z', '2019-03-07T10:00:00.000Z'],
['2019-03-08T22:00:00.000Z', '2019-03-09T01:00:00.000Z'],
['2019-03-09T22:00:00.000Z', '2019-03-10T01:00:00.000Z'],
['2019-03-04 00:15', '2019-03-04 01:45'],
['2019-03-05 09:00', '2019-03-05 10:30'],
['2019-03-06 22:00', '2019-03-06 22:30'],
['2019-03-07 01:30', '2019-03-07 03:00'],
['2019-03-07 05:30', '2019-03-07 10:00'],
['2019-03-08 12:30', '2019-03-08 01:30'],
['2019-03-09 22:00', '2019-03-09 23:59'],
];

const defaultSchedule = rangeStrings.map(range =>
Expand Down
14 changes: 7 additions & 7 deletions demo/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,13 @@ const classes = mapValues(
);

const rangeStrings: [string, string][] = [
['2019-03-03T22:45:00.000Z', '2019-03-04T01:15:00.000Z'],
['2019-03-04T22:15:00.000Z', '2019-03-05T01:00:00.000Z'],
['2019-03-05T22:00:00.000Z', '2019-03-06T01:00:00.000Z'],
['2019-03-06T22:00:00.000Z', '2019-03-07T01:00:00.000Z'],
['2019-03-07T05:30:00.000Z', '2019-03-07T10:00:00.000Z'],
['2019-03-08T22:00:00.000Z', '2019-03-09T01:00:00.000Z'],
['2019-03-09T22:00:00.000Z', '2019-03-10T01:00:00.000Z'],
['2019-03-04 00:15', '2019-03-04 01:45'],
['2019-03-05 09:00', '2019-03-05 10:30'],
['2019-03-06 22:00', '2019-03-06 22:30'],
['2019-03-07 01:30', '2019-03-07 03:00'],
['2019-03-07 05:30', '2019-03-07 10:00'],
['2019-03-08 12:30', '2019-03-08 01:30'],
['2019-03-09 22:00', '2019-03-09 23:59'],
];

const defaultSchedule: ScheduleType = rangeStrings.map(
Expand Down

0 comments on commit 93275e8

Please sign in to comment.