feat: integrate timezone support for message timestamps in chat and overlay components

This commit is contained in:
Yusuf İpek
2025-10-11 20:13:41 +03:00
parent d661e969d9
commit 693ee684ab
7 changed files with 192 additions and 5 deletions
+6 -1
View File
@@ -1,5 +1,6 @@
import './globals.css';
import type { ReactNode } from 'react';
import { TimezoneProvider } from '../lib/TimezoneContext';
export const metadata = {
title: 'YouTube Chat Client',
@@ -9,7 +10,11 @@ export const metadata = {
export default function RootLayout({ children }: { children: ReactNode }) {
return (
<html lang="en">
<body>{children}</body>
<body>
<TimezoneProvider>
{children}
</TimezoneProvider>
</body>
</html>
);
}