mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
[fix, doc] TimeVal: typo
This commit is contained in:
@@ -6,7 +6,7 @@ A simple module to module to compare and do arithmetic with time values.
|
||||
|
||||
local tv_start = TimeVal:now()
|
||||
-- Do some stuff.
|
||||
-- You can add and substract `TimeVal` objects.
|
||||
-- You can add and subtract `TimeVal` objects.
|
||||
local tv_duration = TimeVal:now() - tv_start
|
||||
-- If you need more precision (like 2.5 s),
|
||||
-- you can add the milliseconds to the seconds.
|
||||
|
||||
Reference in New Issue
Block a user