Mercurial > prosody-hg
view util/time.lua @ 8996:2df7dc99566a
MUC/password: Rename variable for clarity [luacheck]
| author | Kim Alvefur <zash@zash.se> |
|---|---|
| date | Sun, 08 Jul 2018 03:43:47 +0200 |
| 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; }
