Skip to content

Commit 8222f0a

Browse files
authored
Merge pull request #15 from newbee1905/master
Fix typo in README.md
2 parents 8c96f7a + be27662 commit 8222f0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ Get the timestamp of creation of the ID can be extracted by using this method. T
6161
...
6262

6363
// Pass the custom epoch that was used to generate this ID
64-
const ts = Snowflake.timestampFromId(id, uid.customEpoch());
64+
const ts = Snowflake.timestampFromID(id, uid.customEpoch());
6565

6666
console.log(ts) // Timestamp of creation of the id
6767

0 commit comments

Comments
 (0)