diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-07-14 15:34:48 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-14 15:34:48 +0800 |
commit | d4f2ccb12e740fa086892714a58d70bc3d832cfa (patch) | |
tree | 35a2603d7d3277977ea8d2d0e840e944619d8af9 | |
parent | 012bc569f71ae9237b2957a8de1f8dc1d66c283c (diff) | |
parent | 4b2237acc422538a458a07d65834f478f5a00de2 (diff) | |
download | lua-language-server-d4f2ccb12e740fa086892714a58d70bc3d832cfa.zip |
Merge pull request #1328 from Cr4xy/master
Meta: make osdate accept strings
-rw-r--r-- | meta/template/os.lua | 16 |
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 |