From 3f7b07dd664cd7dceff5a36b8a0dbf297f0cab03 Mon Sep 17 00:00:00 2001 From: Jared Lunde Date: Mon, 30 Oct 2023 08:58:04 -0700 Subject: [PATCH] Fix TimestampFromV7 error message --- uuid.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/uuid.go b/uuid.go index fbe6645..d660fdc 100644 --- a/uuid.go +++ b/uuid.go @@ -141,7 +141,7 @@ func TimestampFromV6(u UUID) (Timestamp, error) { // releases until the spec is final. func TimestampFromV7(u UUID) (Timestamp, error) { if u.Version() != 7 { - return 0, fmt.Errorf("uuid: %s is version %d, not version 6", u, u.Version()) + return 0, fmt.Errorf("uuid: %s is version %d, not version 7", u, u.Version()) } t := 0 |