X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2F%2Bvideos%2F%2Bvideo-edit%2Fshared%2Fi18n-primeng-calendar.service.ts;h=34848b0362c19a9e40822184670f966ec188c384;hb=5f26f13b3c16ac5ae0a3b0a7142d84a9528cf565;hp=6ef4dbc68d9b3538e93fe0c8c3752b8027c865a7;hpb=8e0a2f2a05df23c30abb21cfbd540fc289c33b91;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/+videos/+video-edit/shared/i18n-primeng-calendar.service.ts b/client/src/app/+videos/+video-edit/shared/i18n-primeng-calendar.service.ts index 6ef4dbc68..34848b036 100644 --- a/client/src/app/+videos/+video-edit/shared/i18n-primeng-calendar.service.ts +++ b/client/src/app/+videos/+video-edit/shared/i18n-primeng-calendar.service.ts @@ -3,7 +3,6 @@ import { PrimeNGConfig } from 'primeng/api' @Injectable() export class I18nPrimengCalendarService { - private readonly calendarLocale: any = {} constructor (private config: PrimeNGConfig) { this.config.setTranslation({ @@ -73,10 +72,6 @@ export class I18nPrimengCalendarService { }) } - getCalendarLocale () { - return this.calendarLocale - } - getTimezone () { const gmt = new Date().toString().match(/([A-Z]+[\+-][0-9]+)/)[1] const timezone = Intl.DateTimeFormat().resolvedOptions().timeZone