Software /
code /
prosody
File
util/time.lua @ 8928:d41f8ce67c8e
MUC: Reorder subject related arguments to increasing requiredness (API break)
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Tue, 26 Jun 2018 02:14:14 +0200 |
parent | 7461:72e48bddf617 |
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; }