Skip to content

Commit

Permalink
fix requestedAt date missing time
Browse files Browse the repository at this point in the history
  • Loading branch information
lucia-gomez committed Apr 17, 2024
1 parent 50f18e5 commit 209313d
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ import { useContext, useMemo, useState } from 'react';

import { BookingContext } from '../bookingProvider';
import { DatabaseContext } from '../../components/Provider';
import { formatDate } from '@fullcalendar/core';
import { serverFunctions } from '../../../utils/serverFunctions';
import { useNavigate } from 'react-router';

Expand Down Expand Up @@ -123,7 +122,7 @@ export default function useSubmitBooking(): [
await serverFunctions.appendRowActive(TableNames.BOOKING_STATUS, [
calendarEventId,
email,
formatDate(new Date()),
new Date().toLocaleString(),
]);

const isAutoApproval = (
Expand Down

0 comments on commit 209313d

Please sign in to comment.