diff options
author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2022-03-08 20:21:54 -0500 |
---|---|---|
committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2022-03-08 20:21:54 -0500 |
commit | 9c08b98330b9f319a32c941958bba702bc87882b (patch) | |
tree | bf2ca2526a665acda39ef43db4b240967f0fd59f /src/lib | |
parent | 34eb30a144221a584de502fcad5305c8544c07ce (diff) | |
download | tanzanite-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.ts | 2 |
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)`; } /** |