mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-12 20:16:15 -08:00
- Replaced moment.js usage with Intl.DateTimeFormat for date formatting in various components. - Introduced utility functions `normalizeDateLocale` and `formatWithIntl` for locale normalization and date formatting. - Updated PlaylistSwitcher, RecentPlaylists, ContentCard, EPG components, and MultiEpgContainer to utilize the new date formatting approach. - Removed moment-date pipe and related tests, simplifying date handling logic. - Ensured all date displays respect the current locale settings. Entire-Checkpoint: 271bd0162027
11 lines
344 B
TypeScript
11 lines
344 B
TypeScript
import { bootstrapApplication } from '@angular/platform-browser';
|
|
import { registerAppDateLocales } from './app/app-date-locales';
|
|
import { AppComponent } from './app/app.component';
|
|
import { appConfig } from './app/app.config';
|
|
|
|
registerAppDateLocales();
|
|
|
|
bootstrapApplication(AppComponent, appConfig).catch((err) =>
|
|
console.error(err)
|
|
);
|