mirror of
https://github.com/luau-lang/luau.git
synced 2024-12-12 21:10:37 +00:00
Added note to docs about not using os.difftime for new work (#210)
Co-authored-by: Arseny Kapoulkine <arseny.kapoulkine@gmail.com> Fixes #194.
This commit is contained in:
parent
59366ad7f8
commit
a02086260b
1 changed files with 1 additions and 1 deletions
|
@ -759,7 +759,7 @@ Otherwise, `s` is interpreted as a [date format string](https://www.cplusplus.co
|
|||
function os.difftime(a: number, b: number): number
|
||||
```
|
||||
|
||||
Calculates the difference in seconds between `a` and `b`; provided for compatibility.
|
||||
Calculates the difference in seconds between `a` and `b`; provided for compatibility only. Please use `a - b` instead.
|
||||
|
||||
```
|
||||
function os.time(t: table?): number
|
||||
|
|
Loading…
Reference in a new issue