]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/+videos/+video-edit/shared/i18n-primeng-calendar.service.ts
Merge branch 'constant-registry' into develop
[github/Chocobozzz/PeerTube.git] / client / src / app / +videos / +video-edit / shared / i18n-primeng-calendar.service.ts
index 6ef4dbc68d9b3538e93fe0c8c3752b8027c865a7..34848b0362c19a9e40822184670f966ec188c384 100644 (file)
@@ -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