aboutsummaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorIRONM00N <64110067+IRONM00N@users.noreply.github.com>2022-03-08 20:21:54 -0500
committerIRONM00N <64110067+IRONM00N@users.noreply.github.com>2022-03-08 20:21:54 -0500
commit9c08b98330b9f319a32c941958bba702bc87882b (patch)
treebf2ca2526a665acda39ef43db4b240967f0fd59f /src/lib
parent34eb30a144221a584de502fcad5305c8544c07ce (diff)
downloadtanzanite-9c08b98330b9f319a32c941958bba702bc87882b.tar.gz
tanzanite-9c08b98330b9f319a32c941958bba702bc87882b.tar.bz2
tanzanite-9c08b98330b9f319a32c941958bba702bc87882b.zip
feat(timestampAndDelta): change to 'D' timestamp
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/extensions/discord-akairo/BushClientUtil.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/extensions/discord-akairo/BushClientUtil.ts b/src/lib/extensions/discord-akairo/BushClientUtil.ts
index 6b5cb39..83ab45e 100644
--- a/src/lib/extensions/discord-akairo/BushClientUtil.ts
+++ b/src/lib/extensions/discord-akairo/BushClientUtil.ts
@@ -631,7 +631,7 @@ export class BushClientUtil extends ClientUtil {
* @param date The date to be compared with the current time.
*/
public timestampAndDelta(date: Date): string {
- return `${this.timestamp(date)} (${this.dateDelta(date)} ago)`;
+ return `${this.timestamp(date, 'D')} (${this.dateDelta(date)} ago)`;
}
/**