👼 Default start time change to 2008-11-10 23:00:00 UTC

This commit is contained in:
Godruoyi
2021-04-15 14:15:58 +08:00
parent 0bcd35685b
commit 39b1eea4da
2 changed files with 4 additions and 3 deletions

View File

@@ -55,7 +55,7 @@ func TestSetStartTime(t *testing.T) {
})
t.Run("Default start time", func(tt *testing.T) {
defaultTime := time.Date(2014, 9, 1, 0, 0, 0, 0, time.UTC)
defaultTime := time.Date(2008, 11, 10, 23, 0, 0, 0, time.UTC)
defaultNano := defaultTime.UTC().UnixNano() / 1e6
sid := snowflake.ParseID(snowflake.ID())