|
@@ -14,20 +14,26 @@ export class ExternalPageHeaderComponent implements OnInit {
|
|
|
private externalService: ExternalPageService,
|
|
|
private router: Router) { }
|
|
|
|
|
|
- currentDate: any = Date.now();//ararbic date
|
|
|
+ currentDate: any = Date.now()//ararbic date
|
|
|
|
|
|
currentEnglishDate: any = Date.now(); //english date
|
|
|
|
|
|
+ 372
|
|
|
+
|
|
|
+
|
|
|
|
|
|
dataLoginUser:any;
|
|
|
|
|
|
ngOnInit() {
|
|
|
|
|
|
-
|
|
|
+
|
|
|
+
|
|
|
this.authSer.arabicTemplate = true;
|
|
|
this.authSer.showDashboardHeader = false;
|
|
|
this.authSer.setLocalLang(); //set languages icons
|
|
|
-
|
|
|
+
|
|
|
+ console.log('current data ', this.currentDate);
|
|
|
+
|
|
|
this.currentDate = this.authSer.writeHijri(new Date(this.currentDate), 'ar', 'header');
|
|
|
|
|
|
if(!this.authSer.isAuthenticated()) {
|