diff options
Diffstat (limited to 'client/src/app/+videos/+video-edit/shared/i18n-primeng-calendar.service.ts')
-rw-r--r-- | client/src/app/+videos/+video-edit/shared/i18n-primeng-calendar.service.ts | 5 |
1 files changed, 0 insertions, 5 deletions
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' | |||
3 | 3 | ||
4 | @Injectable() | 4 | @Injectable() |
5 | export class I18nPrimengCalendarService { | 5 | export class I18nPrimengCalendarService { |
6 | private readonly calendarLocale: any = {} | ||
7 | 6 | ||
8 | constructor (private config: PrimeNGConfig) { | 7 | constructor (private config: PrimeNGConfig) { |
9 | this.config.setTranslation({ | 8 | this.config.setTranslation({ |
@@ -73,10 +72,6 @@ export class I18nPrimengCalendarService { | |||
73 | }) | 72 | }) |
74 | } | 73 | } |
75 | 74 | ||
76 | getCalendarLocale () { | ||
77 | return this.calendarLocale | ||
78 | } | ||
79 | |||
80 | getTimezone () { | 75 | getTimezone () { |
81 | const gmt = new Date().toString().match(/([A-Z]+[\+-][0-9]+)/)[1] | 76 | const gmt = new Date().toString().match(/([A-Z]+[\+-][0-9]+)/)[1] |
82 | const timezone = Intl.DateTimeFormat().resolvedOptions().timeZone | 77 | const timezone = Intl.DateTimeFormat().resolvedOptions().timeZone |