diff options
author | Kim Alvefur <zash@zash.se> | 2018-02-28 20:06:26 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2018-02-28 20:06:26 +0100 |
commit | 43b814a83bc1e20d15d3cd38ddcf108d8e3ca356 (patch) | |
tree | 0f24fe5bf868191f9e33931f28c9db16e098d2bb /util/datetime.lua | |
parent | 8e377a8d5586e64f4c75e0b40e7b84de6e2a7972 (diff) | |
download | prosody-43b814a83bc1e20d15d3cd38ddcf108d8e3ca356.tar.gz prosody-43b814a83bc1e20d15d3cd38ddcf108d8e3ca356.zip |
vairious: Add annotation when an empty environment is set [luacheck]
Diffstat (limited to 'util/datetime.lua')
-rw-r--r-- | util/datetime.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/util/datetime.lua b/util/datetime.lua index abb4e867..06be9fc2 100644 --- a/util/datetime.lua +++ b/util/datetime.lua @@ -15,6 +15,7 @@ local os_difftime = os.difftime; local tonumber = tonumber; local _ENV = nil; +-- luacheck: std none local function date(t) return os_date("!%Y-%m-%d", t); |