fix: Date picker bug
All checks were successful
Deploy to Staging / Build Images (push) Successful in 1m18s
Deploy to Staging / Deploy to Staging (push) Successful in 16s
Deploy to Staging / Verify Staging (push) Successful in 4s
Deploy to Staging / Notify Staging Ready (push) Successful in 4s
Deploy to Staging / Notify Staging Failure (push) Has been skipped

This commit is contained in:
Eric Gullickson
2026-03-23 19:53:49 -05:00
parent 8955baae26
commit c05e33e230
4 changed files with 6 additions and 6 deletions

View File

@@ -337,7 +337,7 @@ export const MaintenanceRecordEditDialog: React.FC<MaintenanceRecordEditDialogPr
label="Service Date *"
value={formData.date ? dayjs(formData.date) : null}
onChange={(newValue) =>
handleInputChange('date', newValue?.toISOString().split('T')[0] || '')
handleInputChange('date', newValue?.format('YYYY-MM-DD') || '')
}
format="MM/DD/YYYY"
slotProps={{