Version 1.1

This commit is contained in:
Flatlogic Bot 2025-08-15 18:59:47 +00:00
parent b706f83f95
commit 0b3a035811
4 changed files with 15 additions and 5 deletions

5
.gitignore vendored
View File

@ -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

View File

@ -0,0 +1 @@
{}

View File

@ -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) => (