summaryrefslogtreecommitdiff
path: root/meta/template/os.lua
diff options
context:
space:
mode:
authorcarsakiller <carsakiller@gmail.com>2023-07-30 22:54:02 -0400
committercarsakiller <carsakiller@gmail.com>2023-07-30 22:54:02 -0400
commit9e04432122eee34ea21ae2b56fe1f1b832bb2fbe (patch)
tree8e9534e2988a7e165f7d9468205b94d93485d2bf /meta/template/os.lua
parent38524fabef24e3a7594c91c63a0db21c51ac98ca (diff)
downloadlua-language-server-9e04432122eee34ea21ae2b56fe1f1b832bb2fbe.zip
fix: os.time optionals
Closes `os.time` expected input is wrong #2235
Diffstat (limited to 'meta/template/os.lua')
-rw-r--r--meta/template/os.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/template/os.lua b/meta/template/os.lua
index c491ecba..4dbffc6b 100644
--- a/meta/template/os.lua
+++ b/meta/template/os.lua
@@ -114,9 +114,9 @@ function os.setlocale(locale, category) end
---#DES 'osdate.sec'
---@field sec (integer|string)?
---#DES 'osdate.wday'
----@field wday integer|string
+---@field wday (integer|string)?
---#DES 'osdate.yday'
----@field yday integer|string
+---@field yday (integer|string)?
---#DES 'osdate.isdst'
---@field isdst boolean?