Fix date display and edit form issues

This commit is contained in:
gpt-engineer-app[bot]
2025-11-06 05:01:51 +00:00
parent 328a77a0a8
commit b189f40c1f
5 changed files with 49 additions and 25 deletions

View File

@@ -406,7 +406,8 @@ interface ApprovalRequest {
const RIDE_FIELDS = [
'name', 'slug', 'description', 'park_id', 'ride_model_id',
'manufacturer_id', 'designer_id', 'category', 'status',
'opening_date', 'closing_date', 'height_requirement', 'age_requirement',
'opening_date', 'opening_date_precision', 'closing_date', 'closing_date_precision',
'height_requirement', 'age_requirement',
'capacity_per_hour', 'duration_seconds', 'max_speed_kmh',
'max_height_meters', 'length_meters', 'inversions',
'ride_sub_type', 'coaster_type', 'seating_type', 'intensity_level',
@@ -416,8 +417,8 @@ const RIDE_FIELDS = [
const PARK_FIELDS = [
'name', 'slug', 'description', 'park_type', 'status',
'opening_date', 'closing_date', 'location_id', 'operator_id',
'property_owner_id', 'website_url', 'phone', 'email',
'opening_date', 'opening_date_precision', 'closing_date', 'closing_date_precision',
'location_id', 'operator_id', 'property_owner_id', 'website_url', 'phone', 'email',
'banner_image_url', 'banner_image_id', 'card_image_url', 'card_image_id'
];