Commit: 42e500ce7275c676ff733b85866799c83f3bb14f Parent: 18e060e84db362b1291e0f5f0d2d71970c09e17d Author: Ren Tatsumoto Date: Mon, 7 Sep 2020 02:05:00 +0300 back in time function Diffstat:
| M | subs2srs.lua | | | 4 | ++++ |
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/subs2srs.lua b/subs2srs.lua @@ -266,6 +266,10 @@ local function sub_rewind() ) end +local function minutes_ago(m) + return (os.time() - 60 * m) * 1000 +end + local function export_to_anki(gui) local sub = subs.get() subs.clear()