Mercurial > prosody-hg
view util/time.lua @ 8550:f841d359da65
net.connect: Fix to store correct parameter
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Mon, 26 Feb 2018 15:26:08 +0000 |
| parents | 72e48bddf617 |
| children |
line wrap: on
line source
-- Import gettime() from LuaSocket, as a way to access high-resolution time -- in a platform-independent way local socket_gettime = require "socket".gettime; return { now = socket_gettime; }
