Software /
code /
prosody
Comparison
util/datetime.lua @ 7259:d8300985f2bb
net.websocket.frames, util.datetime, util.json, util.prosodyctl, util.rfc6724: Remove unused variables [luacheck]
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Thu, 10 Mar 2016 17:52:03 +0000 |
parent | 6777:5de6b93d0190 |
child | 8555:4f0f5b49bb03 |
comparison
equal
deleted
inserted
replaced
7258:b8f60dd8e99a | 7259:d8300985f2bb |
---|---|
10 -- XEP-0082: XMPP Date and Time Profiles | 10 -- XEP-0082: XMPP Date and Time Profiles |
11 | 11 |
12 local os_date = os.date; | 12 local os_date = os.date; |
13 local os_time = os.time; | 13 local os_time = os.time; |
14 local os_difftime = os.difftime; | 14 local os_difftime = os.difftime; |
15 local error = error; | |
16 local tonumber = tonumber; | 15 local tonumber = tonumber; |
17 | 16 |
18 local _ENV = nil; | 17 local _ENV = nil; |
19 | 18 |
20 local function date(t) | 19 local function date(t) |