mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-23 00:11:14 -05:00
Fix date display issues
This commit is contained in:
@@ -472,7 +472,7 @@ export default function RideDetail() {
|
||||
<div>
|
||||
<div className="font-medium">Opened</div>
|
||||
<div className="text-sm text-muted-foreground">
|
||||
{new Date(ride.opening_date).getFullYear()}
|
||||
{ride.opening_date.split('-')[0]}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user