fix: use Ecuador timezone (GMT-5) for all date displays across the app

This commit is contained in:
2026-06-29 23:53:58 -05:00
parent 7b72994d4a
commit f9c8d48631
3 changed files with 12 additions and 9 deletions
+2 -1
View File
@@ -1,6 +1,7 @@
'use client';
import { useEffect, useState, useRef } from 'react';
import { formatDisplayDate } from '@/lib/date';
interface Room {
id: number;
@@ -398,7 +399,7 @@ export default function RoomsPage() {
{c.first_name}{c.last_initial ? ` ${c.last_initial}.` : ''}
</strong>
<span style={{ fontSize: '12px', color: '#777' }}>
{new Date(c.created_at).toLocaleDateString()}
{formatDisplayDate(c.created_at)}
</span>
</div>
<p style={{ margin: 0, color: '#555', fontSize: '14px' }}>{c.text}</p>