From 34cd1f939fcc8a76ae4972beef27c5b8bbb6c66a Mon Sep 17 00:00:00 2001 From: ziz57 Date: Sat, 22 Jun 2024 22:43:29 +0100 Subject: [PATCH] Version: fix outdated documentation of version number (#12074) --- frontend/version.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/version.lua b/frontend/version.lua index 30fe881c3..e3629811c 100644 --- a/frontend/version.lua +++ b/frontend/version.lua @@ -25,7 +25,7 @@ end --- Returns normalized version of KOReader git-rev input string. -- @string rev full KOReader git-rev such as `v2015.11-982-g704d4238` --- @treturn int version in the form of a 10 digit number such as `2015110982` +-- @treturn int version in the form of a 12 digit number such as `201511000982` -- @treturn string short git commit version hash such as `704d4238` function Version:getNormalizedVersion(rev) if not rev then return end @@ -42,7 +42,7 @@ function Version:getNormalizedVersion(rev) end --- Returns current version of KOReader. --- @treturn int version in the form of a 10 digit number such as `2015110982` +-- @treturn int version in the form of a 12 digit number such as `201511000982` -- @treturn string short git commit version hash such as `704d4238` -- @see getNormalizedVersion function Version:getNormalizedCurrentVersion()