Mercurial > prosody-hg
view util/time.lua @ 8677:369cde73a4d2
luacheckrc: Let luacheck know about the log and server globals
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Fri, 23 Mar 2018 13:16:14 +0100 |
| 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; }
