diff --git a/src/app/layouts/frontend-layout.component.html b/src/app/layouts/frontend-layout.component.html index 08b0a08b4c..5a3c9878b0 100644 --- a/src/app/layouts/frontend-layout.component.html +++ b/src/app/layouts/frontend-layout.component.html @@ -1,5 +1,5 @@
- © 2018, 8bit Solutions LLC + © {{year}}, 8bit Solutions LLC
{{'versionNumber' | i18n : version}}
diff --git a/src/app/layouts/frontend-layout.component.ts b/src/app/layouts/frontend-layout.component.ts index 8510c1bc0e..aae5ab9922 100644 --- a/src/app/layouts/frontend-layout.component.ts +++ b/src/app/layouts/frontend-layout.component.ts @@ -12,10 +12,12 @@ import { PlatformUtilsService } from 'jslib/abstractions/platformUtils.service'; }) export class FrontendLayoutComponent implements OnInit, OnDestroy { version: string; + year: string = '2015'; constructor(private platformUtilsService: PlatformUtilsService) { } ngOnInit() { + this.year = new Date().getFullYear().toString(); this.version = this.platformUtilsService.getApplicationVersion(); document.body.classList.add('layout_frontend'); }