summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorCr4xy <cr4xy@live.de>2022-07-13 18:47:06 +0200
committerCr4xy <cr4xy@live.de>2022-07-13 18:47:06 +0200
commit4b2237acc422538a458a07d65834f478f5a00de2 (patch)
tree1d590aa8f3f618c4a41c5643c3467737783638bc /meta
parentffb9d5437ad78dbd392f72fd60b4c03f4cefb970 (diff)
downloadlua-language-server-4b2237acc422538a458a07d65834f478f5a00de2.zip
meta: make osdate accept strings
Diffstat (limited to 'meta')
-rw-r--r--meta/template/os.lua16
1 files changed, 8 insertions, 8 deletions
diff --git a/meta/template/os.lua b/meta/template/os.lua
index c6af18cd..760c029a 100644
--- a/meta/template/os.lua
+++ b/meta/template/os.lua
@@ -11,21 +11,21 @@ function os.clock() end
---@class osdate
---#DES 'osdate.year'
----@field year integer
+---@field year integer|string
---#DES 'osdate.month'
----@field month integer
+---@field month integer|string
---#DES 'osdate.day'
----@field day integer
+---@field day integer|string
---#DES 'osdate.hour'
----@field hour integer
+---@field hour integer|string
---#DES 'osdate.min'
----@field min integer
+---@field min integer|string
---#DES 'osdate.sec'
----@field sec integer
+---@field sec integer|string
---#DES 'osdate.wday'
----@field wday integer
+---@field wday integer|string
---#DES 'osdate.yday'
----@field yday integer
+---@field yday integer|string
---#DES 'osdate.isdst'
---@field isdst boolean