mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-23 07:31:12 -05:00
Fix date display issues
This commit is contained in:
@@ -68,7 +68,7 @@ export function EnhancedSearchResults({ results, loading, hasMore, onLoadMore }:
|
||||
{parkData?.opening_date && (
|
||||
<div className="flex items-center gap-1 text-xs text-muted-foreground">
|
||||
<Calendar className="w-3 h-3" />
|
||||
<span>Opened {new Date(parkData.opening_date).getFullYear()}</span>
|
||||
<span>Opened {parkData.opening_date.split('-')[0]}</span>
|
||||
</div>
|
||||
)}
|
||||
{parkData?.status && (
|
||||
|
||||
Reference in New Issue
Block a user