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/
*/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,
EventProps,
} 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 ListActionsPopover from './ListActionsPopover';
import Link from 'next/link';
@ -119,6 +120,10 @@ const BigCalendar = ({
selectable={hasCreatePermission}
onSelectSlot={handleCreateEventAction}
onRangeChange={onRangeChange}
step={20}
timeslots={3}
min={new Date(1970, 1, 1, 8)}
max={new Date(1970, 1, 1, 16)}
scrollToTime={scrollToTime}
components={{
event: (props) => (