feat(SnowflakeUtil): add timestampFrom (#7058)

This commit is contained in:
Antonio Román
2021-12-06 08:56:29 +01:00
committed by GitHub
parent 1c93faa3ab
commit 8b200c0fee
19 changed files with 27 additions and 17 deletions

View File

@@ -379,7 +379,7 @@ class Webhook {
* @readonly
*/
get createdTimestamp() {
return SnowflakeUtil.deconstruct(this.id).timestamp;
return SnowflakeUtil.timestampFrom(this.id);
}
/**