diff --git a/resources/assets/typescript/Sakura/TimeAgo.ts b/resources/assets/typescript/Sakura/TimeAgo.ts index 10b98a9..00c425a 100644 --- a/resources/assets/typescript/Sakura/TimeAgo.ts +++ b/resources/assets/typescript/Sakura/TimeAgo.ts @@ -22,7 +22,7 @@ namespace Sakura } public static Parse(date: Date, append: string = ' ago', none: string = 'Just now'): string { - var time: number = (Date.now() - date.getTime()) / 1000; + var time: number = (date.getTime() - Date.now()) / 1000; if (time < 1) { return none;