<span *ngIf="withTime === false; else wTime" [title]="date | dateFormatter : 'y-MM-dd HH:mm:ss z'">{{date | dateFormatter}}</span>
<ng-template #wTime>
  <span [title]="date | dateFormatter : 'y-MM-dd HH:mm:ss z'">{{date | dateFormatter : authService.dateTimeFormat}}</span>
</ng-template>
