1
0
Fork 0
mirror of synced 2024-06-01 18:39:57 +12:00

unix is Unix

This commit is contained in:
Eldad Fux 2020-06-24 14:18:33 +03:00
parent 8efff7f1e9
commit 75026ffa8c
8 changed files with 8 additions and 8 deletions

View file

@ -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)
}

View file

@ -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
*/

View file

@ -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
*/

View file

@ -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
*/

View file

@ -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
*/

View file

@ -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', [

View file

@ -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?

View file

@ -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', [