Software /
code /
prosody
File
util/time.lua @ 7936:582bfb39337f
Backed out changeset a3a4ed0d34f4 C99 is ok
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 02 Mar 2017 00:46:32 +0100 |
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; }