Skip to content

Commit 9e04432

Browse files
committed
fix: os.time optionals
Closes `os.time` expected input is wrong #2235
1 parent 38524fa commit 9e04432

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

meta/template/os.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,9 +114,9 @@ function os.setlocale(locale, category) end
114114
---#DES 'osdate.sec'
115115
---@field sec (integer|string)?
116116
---#DES 'osdate.wday'
117-
---@field wday integer|string
117+
---@field wday (integer|string)?
118118
---#DES 'osdate.yday'
119-
---@field yday integer|string
119+
---@field yday (integer|string)?
120120
---#DES 'osdate.isdst'
121121
---@field isdst boolean?
122122

0 commit comments

Comments
 (0)