|
@@ -18,6 +18,6 @@ export class DiffForHumansPipe implements PipeTransform {
|
|
|
* Takes a timestamp and makes the diff readable for humans.
|
|
|
*/
|
|
|
transform(value: string, ...args) {
|
|
|
- return timeAgo.format(new Date(value));
|
|
|
+ return timeAgo.format(new Date(value), 'twitter');
|
|
|
}
|
|
|
}
|