Version 1.1
This commit is contained in:
parent
b706f83f95
commit
0b3a035811
5
.gitignore
vendored
5
.gitignore
vendored
@ -1,3 +1,8 @@
|
|||||||
node_modules/
|
node_modules/
|
||||||
*/node_modules/
|
*/node_modules/
|
||||||
*/build/
|
*/build/
|
||||||
|
|
||||||
|
**/node_modules/
|
||||||
|
**/build/
|
||||||
|
.DS_Store
|
||||||
|
.env
|
||||||
File diff suppressed because one or more lines are too long
1
frontend/json/runtimeError.json
Normal file
1
frontend/json/runtimeError.json
Normal file
@ -0,0 +1 @@
|
|||||||
|
{}
|
||||||
@ -6,7 +6,8 @@ import {
|
|||||||
SlotInfo,
|
SlotInfo,
|
||||||
EventProps,
|
EventProps,
|
||||||
} from 'react-big-calendar';
|
} from 'react-big-calendar';
|
||||||
import moment from 'moment';
|
import moment from 'moment-timezone';
|
||||||
|
moment.tz.setDefault('Etc/GMT+12');
|
||||||
import 'react-big-calendar/lib/css/react-big-calendar.css';
|
import 'react-big-calendar/lib/css/react-big-calendar.css';
|
||||||
import ListActionsPopover from './ListActionsPopover';
|
import ListActionsPopover from './ListActionsPopover';
|
||||||
import Link from 'next/link';
|
import Link from 'next/link';
|
||||||
@ -119,6 +120,10 @@ const BigCalendar = ({
|
|||||||
selectable={hasCreatePermission}
|
selectable={hasCreatePermission}
|
||||||
onSelectSlot={handleCreateEventAction}
|
onSelectSlot={handleCreateEventAction}
|
||||||
onRangeChange={onRangeChange}
|
onRangeChange={onRangeChange}
|
||||||
|
step={20}
|
||||||
|
timeslots={3}
|
||||||
|
min={new Date(1970, 1, 1, 8)}
|
||||||
|
max={new Date(1970, 1, 1, 16)}
|
||||||
scrollToTime={scrollToTime}
|
scrollToTime={scrollToTime}
|
||||||
components={{
|
components={{
|
||||||
event: (props) => (
|
event: (props) => (
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user