Software /
code /
prosody
File
teal-src/util/uuid.d.tl @ 12629:4c1d3f817063
util.datetime: Add support for sub-second precision timestamps
Lua since 5.3 raises a fuss when time functions are handed a number with
a fractional part and the underlying C functions are all based on
integer seconds without support for more precision.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 14 Aug 2022 16:57:31 +0200 |
parent | 12625:e43a01641ca1 |
line wrap: on
line source
local record lib get_nibbles : function (number) : string generate : function () : string seed : function (string) end return lib