Commit 37883457 authored by Thibault Ehrhart's avatar Thibault Ehrhart

Add hours/minutes/seconds to dates

parent 743543ec
<div *ngIf="selectedItem">
<div class="header padding-right">
<div class="date">{{ selectedItem.dateCreated | date: 'dd/MM/yyyy' }}</div>
<div class="date">{{ selectedItem.dateCreated | date: 'dd/MM/yyyy HH:mm:ss' }}</div>
<div class="location">{{ selectedItem.locality }} - {{ getCountryName(selectedItem.country) }}</div>
<!--
<div class="share-buttons">
......
......@@ -69,7 +69,7 @@
<div class="list">
<div class="item padding" *ngFor="let item of news" [routerLink]="['details', item.s.value.substr(item.s.value.lastIndexOf('/') + 1)]" routerLinkActive="active" (click)="selectItem(item)">
<div class="text">
<div class="date">{{ item.dateCreated.value | date: 'dd/MM/yyyy' }}</div>
<div class="date">{{ item.dateCreated.value | date: 'dd/MM/yyyy HH:mm:ss' }}</div>
<div class="title" [innerHTML]="item.headline.value | highlight : search.searchParams.keywords"></div>
<div class="desc" *ngIf="item.description" [innerHTML]="item.description.value | words : 25 | highlight : search.searchParams.keywords"></div>
<div class="source">{{ item.locality.value }} - {{ getCountryName(item.country.value) }}</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment