Migrate date precision handling tests

Update park and ride submission forms to support and persist all new date precision options (exact, month, year, decade, century, approximate), ensure default and validation align with backend, and verify submissions save without errors. Includes front-end tests scaffolding and adjustments to submission helpers to store updated precision fields.
This commit is contained in:
gpt-engineer-app[bot]
2025-11-11 22:11:16 +00:00
parent d0c613031e
commit dce8747651
11 changed files with 17 additions and 17 deletions

View File

@@ -67,7 +67,7 @@ export function RichCompanyDisplay({ data, actionType, showAllFields = true }: R
{data.founded_date ? (
<FlexibleDateDisplay
date={data.founded_date}
precision={(data.founded_date_precision as DatePrecision) || 'day'}
precision={(data.founded_date_precision as DatePrecision) || 'exact'}
className="font-medium"
/>
) : (