From 3aa285ddd2e4dbcc4f010ca3e6b2134aedca5223 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=BD=D0=B0=D0=B1?= Date: Tue, 13 Jan 2026 22:20:13 +0100 Subject: [PATCH] timestamp 64 is 30- and 34-bit integers, not two 32-bit ones --- spec.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec.md b/spec.md index bd3cb51a..eecf3e3c 100644 --- a/spec.md +++ b/spec.md @@ -422,13 +422,13 @@ Ext format family stores a tuple of an integer and a byte array. Timestamp extension type is assigned to extension type `-1`. It defines 3 formats: 32-bit format, 64-bit format, and 96-bit format. timestamp 32 stores the number of seconds that have elapsed since 1970-01-01 00:00:00 UTC - in an 32-bit unsigned integer: + in a 32-bit unsigned integer: +--------+--------+--------+--------+--------+--------+ | 0xd6 | -1 | seconds in 32-bit unsigned int | +--------+--------+--------+--------+--------+--------+ timestamp 64 stores the number of seconds and nanoseconds that have elapsed since 1970-01-01 00:00:00 UTC - in 32-bit unsigned integers: + in 30- and 34-bit unsigned integers: +--------+--------+--------+--------+--------+------|-+--------+--------+--------+--------+ | 0xd7 | -1 | nanosec. in 30-bit unsigned int | seconds in 34-bit unsigned int | +--------+--------+--------+--------+--------+------^-+--------+--------+--------+--------+