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:

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: