Re: Fix for typo in UUIDv7 timestamp extraction

2025-08-15 Thread Masahiko Sawada
On Fri, Aug 15, 2025 at 11:44 AM Masahiko Sawada wrote: > > On Thu, Aug 14, 2025 at 5:10 AM Erik Nordström wrote: > > > > > > > > On Wed, Aug 13, 2025 at 11:52 AM Andrey Borodin > > wrote: > >> > >> Hi Erik! > >> > >> > On 13 Aug 2025, at 11:05, Erik Nordström wrote: > >> > > >> > I think I fo

Re: Fix for typo in UUIDv7 timestamp extraction

2025-08-15 Thread Masahiko Sawada
On Thu, Aug 14, 2025 at 5:10 AM Erik Nordström wrote: > > > > On Wed, Aug 13, 2025 at 11:52 AM Andrey Borodin wrote: >> >> Hi Erik! >> >> > On 13 Aug 2025, at 11:05, Erik Nordström wrote: >> > >> > I think I found a small typo in the function that extracts a timestamp >> > from a UUIDv7 (uuid_e

Re: Fix for typo in UUIDv7 timestamp extraction

2025-08-14 Thread Erik Nordström
On Wed, Aug 13, 2025 at 11:52 AM Andrey Borodin wrote: > Hi Erik! > > > On 13 Aug 2025, at 11:05, Erik Nordström wrote: > > > > I think I found a small typo in the function that extracts a timestamp > from a UUIDv7 (uuid_extract_timestamp). Unless I am mistaken, the constant > US_PER_MS should b

Re: Fix for typo in UUIDv7 timestamp extraction

2025-08-13 Thread Andrey Borodin
Hi Erik! > On 13 Aug 2025, at 11:05, Erik Nordström wrote: > > I think I found a small typo in the function that extracts a timestamp from a > UUIDv7 (uuid_extract_timestamp). Unless I am mistaken, the constant US_PER_MS > should be used instead of NS_PER_US when converting milliseconds to >