File tree Expand file tree Collapse file tree 1 file changed +21
-1
lines changed
Expand file tree Collapse file tree 1 file changed +21
-1
lines changed Original file line number Diff line number Diff line change @@ -100,8 +100,28 @@ function os.rename(oldname, newname) end
100100--- @return string localecategory
101101function os .setlocale (locale , category ) end
102102
103+ --- @class osdateparam
104+ --- #DES 'osdate.year'
105+ --- @field year integer | string
106+ --- #DES 'osdate.month'
107+ --- @field month integer | string
108+ --- #DES 'osdate.day'
109+ --- @field day integer | string
110+ --- #DES 'osdate.hour'
111+ --- @field hour (integer | string )?
112+ --- #DES 'osdate.min'
113+ --- @field min (integer | string )?
114+ --- #DES 'osdate.sec'
115+ --- @field sec (integer | string )?
116+ --- #DES 'osdate.wday'
117+ --- @field wday integer | string
118+ --- #DES 'osdate.yday'
119+ --- @field yday integer | string
120+ --- #DES 'osdate.isdst'
121+ --- @field isdst boolean ?
122+
103123--- #DES 'os.time'
104- --- @param date ? osdate
124+ --- @param date ? osdateparam
105125--- @return integer
106126--- @nodiscard
107127function os .time (date ) end
You can’t perform that action at this time.
0 commit comments