Module: version

Version API. Allows to query various information about the current release.

Summary

Methods

Detailed Description

Methods

date() → {Date}

Return the build date or the current date for the "DEBUG" version.
Returns:
Date
Type
Date
Source:

date_str() → {string}

Return the build date or the current date for the "DEBUG" version.
Returns:
Date string in the format: "dd.mm.yyyy hh.mm.ss"
Type
string
Source:

get_build_version() → {string}

Returns a string representing the application version based on build time. Returns the current timestamp in the "DEBUG" mode.
Returns:
Build version.
Type
string
Source:

type() → {string}

Get the release type: "DEBUG" or "RELEASE".
Returns:
Release type
Type
string
Source:

version() → {Array}

Get the version. The version is an array of the format: [yy, mm] or [yy, mm, bugfix] for "RELEASE" version or [yy, mm] for "DEBUG" version.
Returns:
Version: [yy, mm]
Type
Array
Source:

version_str() → {string}

Get the version. The version string has the format: "yy.mm" or "yy.mm.bugfix" for "RELEASE" version or "yy.mm" for "DEBUG" version.
Returns:
Version string
Type
string
Source: