unix is Unix
This commit is contained in:
parent
8efff7f1e9
commit
75026ffa8c
|
@ -320,7 +320,7 @@
|
|||
var _date = function (format, timestamp) {
|
||||
jsdate = (timestamp === undefined ? new Date() // Not provided
|
||||
: (timestamp instanceof Date) ? new Date(timestamp) // JS Date()
|
||||
: new Date(timestamp * 1000) // UNIX timestamp (auto-convert to int)
|
||||
: new Date(timestamp * 1000) // Unix timestamp (auto-convert to int)
|
||||
)
|
||||
return format.replace(formatChr, formatChrCb)
|
||||
}
|
||||
|
|
|
@ -127,7 +127,7 @@ abstract class Adapter
|
|||
/**
|
||||
* Last Modified.
|
||||
*
|
||||
* Return unix timestamp of last time a node queried in corrent session has been changed
|
||||
* Return Unix timestamp of last time a node queried in corrent session has been changed
|
||||
*
|
||||
* @return int
|
||||
*/
|
||||
|
|
|
@ -774,7 +774,7 @@ class MySQL extends Adapter
|
|||
/**
|
||||
* Last Modified.
|
||||
*
|
||||
* Return unix timestamp of last time a node queried in corrent session has been changed
|
||||
* Return Unix timestamp of last time a node queried in corrent session has been changed
|
||||
*
|
||||
* @return int
|
||||
*/
|
||||
|
|
|
@ -221,7 +221,7 @@ class Redis extends Adapter
|
|||
/**
|
||||
* Last Modified.
|
||||
*
|
||||
* Return unix timestamp of last time a node queried in current session has been changed
|
||||
* Return Unix timestamp of last time a node queried in current session has been changed
|
||||
*
|
||||
* @return int
|
||||
*/
|
||||
|
|
|
@ -367,7 +367,7 @@ class Database
|
|||
/**
|
||||
* Get Last Modified.
|
||||
*
|
||||
* Return unix timestamp of last time a node queried in current session has been changed
|
||||
* Return Unix timestamp of last time a node queried in current session has been changed
|
||||
*
|
||||
* @return int
|
||||
*/
|
||||
|
|
|
@ -17,7 +17,7 @@ class Session extends Model
|
|||
])
|
||||
->addRule('expire', [
|
||||
'type' => 'string',
|
||||
'description' => 'Session expiration date in unix timestamp.',
|
||||
'description' => 'Session expiration date in Unix timestamp.',
|
||||
'example' => 1592981250,
|
||||
])
|
||||
->addRule('ip', [
|
||||
|
|
|
@ -23,7 +23,7 @@ class Team extends Model
|
|||
])
|
||||
->addRule('dateCreated', [
|
||||
'type' => 'integer',
|
||||
'description' => 'Team creation date in unix timestamp.',
|
||||
'description' => 'Team creation date in Unix timestamp.',
|
||||
'example' => 1592981250,
|
||||
])
|
||||
->addRule('sum', [ // TODO change key name?
|
||||
|
|
|
@ -23,7 +23,7 @@ class User extends Model
|
|||
])
|
||||
->addRule('registration', [
|
||||
'type' => 'integer',
|
||||
'description' => 'User registration date in unix timestamp.',
|
||||
'description' => 'User registration date in Unix timestamp.',
|
||||
'example' => 1592981250,
|
||||
])
|
||||
->addRule('status', [
|
||||
|
|
Loading…
Reference in a new issue