commit
0e73a853fd
|
@ -10,5 +10,5 @@
|
|||
</ion-item>
|
||||
</span>
|
||||
|
||||
<core-format-text *ngIf="isShowOrListMode() && value && value.content" [text]="value.content * 1000 | coreFormatDate:'strftimedayshort'"></core-format-text>
|
||||
<core-format-text *ngIf="isShowOrListMode() && value && value.content" [text]="value.content * 1000 | coreFormatDate:'strftimedate'"></core-format-text>
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
<a ion-item text-wrap *ngFor="let participant of participants" [title]="participant.fullname" (click)="gotoParticipant(participant.id)" [class.core-split-item-selected]="participant.id == participantId">
|
||||
<ion-avatar core-user-avatar [user]="participant" item-start [userId]="participant.id" [checkOnline]="true"></ion-avatar>
|
||||
<h2><core-format-text [text]="participant.fullname"></core-format-text></h2>
|
||||
<p *ngIf="participant.lastaccess"><strong>{{ 'core.lastaccess' | translate }}: </strong>{{ participant.lastaccess * 1000 | coreFormatDate }}</p>
|
||||
<p *ngIf="participant.lastaccess"><strong>{{ 'core.lastaccess' | translate }}: </strong>{{ participant.lastaccess | coreTimeAgo }}</p>
|
||||
</a>
|
||||
</ion-list>
|
||||
<core-infinite-loading [enabled]="canLoadMore" (action)="loadMoreData($event)" [error]="loadMoreError"></core-infinite-loading>
|
||||
|
|
|
@ -242,7 +242,7 @@ export class CoreTimeUtilsProvider {
|
|||
}
|
||||
|
||||
if (fixHour) {
|
||||
format = format.replace('%I', 'H');
|
||||
format = format.replace('%I', 'h');
|
||||
}
|
||||
|
||||
// Format could be in PHP format, convert it to moment.
|
||||
|
|
Loading…
Reference in New Issue