mirror of
https://github.com/koreader/koreader.git
synced 2025-12-13 20:36:53 +01:00
Version: fix outdated documentation of version number (#12074)
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user