mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-24 11:31:12 -05:00
Fix park opening date display
This commit is contained in:
@@ -365,7 +365,7 @@ export default function ParkDetail() {
|
||||
</div>
|
||||
</div>
|
||||
<div className="text-xs font-medium text-foreground">
|
||||
{park.opening_date ? `Opened ${new Date(park.opening_date).getFullYear()}` : 'Opening Soon'}
|
||||
{park.opening_date ? `Opened ${park.opening_date.split('-')[0]}` : 'Opening Soon'}
|
||||
</div>
|
||||
|
||||
</CardContent>
|
||||
|
||||
Reference in New Issue
Block a user