updated
This commit is contained in:
@@ -394,16 +394,11 @@ export default function AppointmentsPage() {
|
||||
|
||||
const rawDate = parseLocalDate(appointmentData.date);
|
||||
|
||||
console.log("Appointment date.date ", appointmentData.date);
|
||||
console.log("Raw date", rawDate);
|
||||
|
||||
const updatedData = {
|
||||
...appointmentData,
|
||||
date: rawDate.toLocaleDateString("en-CA"),
|
||||
};
|
||||
|
||||
console.log("update data: ", updatedData.date);
|
||||
|
||||
// Check if we're editing an existing appointment with a valid ID
|
||||
if (
|
||||
editingAppointment &&
|
||||
|
||||
@@ -30,7 +30,6 @@
|
||||
"packages/*"
|
||||
],
|
||||
"dependencies": {
|
||||
"date-fns-tz": "^3.2.0",
|
||||
"dotenv": "^16.5.0",
|
||||
"dotenv-cli": "^8.0.0",
|
||||
"shx": "^0.4.0"
|
||||
|
||||
Reference in New Issue
Block a user