From f108fa83dd9bbd81bef4d03ed38e482578291528 Mon Sep 17 00:00:00 2001 From: ccuser44 <68124053+ccuser44@users.noreply.github.com> Date: Wed, 17 Nov 2021 10:22:09 +0200 Subject: [PATCH] Update library.md --- docs/_pages/library.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/_pages/library.md b/docs/_pages/library.md index 0a6e3ec9..eec4afb7 100644 --- a/docs/_pages/library.md +++ b/docs/_pages/library.md @@ -761,6 +761,8 @@ function os.difftime(a: number, b: number): number Calculates the difference in seconds between `a` and `b`; provided for compatibility. +It is adviced not to use `os.difftime(a, b)` for new work. Please use `a - b` instead. + ``` function os.time(t: table?): number ```