From 75026ffa8c23c6ac0a2c4bbdfff45e1f202d577a Mon Sep 17 00:00:00 2001 From: Eldad Fux Date: Wed, 24 Jun 2020 14:18:33 +0300 Subject: [PATCH] unix is Unix --- public/scripts/services/date.js | 2 +- src/Appwrite/Database/Adapter.php | 2 +- src/Appwrite/Database/Adapter/MySQL.php | 2 +- src/Appwrite/Database/Adapter/Redis.php | 2 +- src/Appwrite/Database/Database.php | 2 +- src/Appwrite/Utopia/Response/Model/Session.php | 2 +- src/Appwrite/Utopia/Response/Model/Team.php | 2 +- src/Appwrite/Utopia/Response/Model/User.php | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/public/scripts/services/date.js b/public/scripts/services/date.js index 7ef5985bed..e395a83514 100644 --- a/public/scripts/services/date.js +++ b/public/scripts/services/date.js @@ -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) } diff --git a/src/Appwrite/Database/Adapter.php b/src/Appwrite/Database/Adapter.php index 6fa79cbdcd..9818a1f0b5 100644 --- a/src/Appwrite/Database/Adapter.php +++ b/src/Appwrite/Database/Adapter.php @@ -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 */ diff --git a/src/Appwrite/Database/Adapter/MySQL.php b/src/Appwrite/Database/Adapter/MySQL.php index 461d2a29ef..53bcec6af0 100644 --- a/src/Appwrite/Database/Adapter/MySQL.php +++ b/src/Appwrite/Database/Adapter/MySQL.php @@ -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 */ diff --git a/src/Appwrite/Database/Adapter/Redis.php b/src/Appwrite/Database/Adapter/Redis.php index 15a7a887d8..a3b12e2ecc 100644 --- a/src/Appwrite/Database/Adapter/Redis.php +++ b/src/Appwrite/Database/Adapter/Redis.php @@ -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 */ diff --git a/src/Appwrite/Database/Database.php b/src/Appwrite/Database/Database.php index e75eb01b51..b19872dfb1 100644 --- a/src/Appwrite/Database/Database.php +++ b/src/Appwrite/Database/Database.php @@ -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 */ diff --git a/src/Appwrite/Utopia/Response/Model/Session.php b/src/Appwrite/Utopia/Response/Model/Session.php index 1beabb851e..6146feb31d 100644 --- a/src/Appwrite/Utopia/Response/Model/Session.php +++ b/src/Appwrite/Utopia/Response/Model/Session.php @@ -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', [ diff --git a/src/Appwrite/Utopia/Response/Model/Team.php b/src/Appwrite/Utopia/Response/Model/Team.php index 38ab909db1..f86ff22e5d 100644 --- a/src/Appwrite/Utopia/Response/Model/Team.php +++ b/src/Appwrite/Utopia/Response/Model/Team.php @@ -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? diff --git a/src/Appwrite/Utopia/Response/Model/User.php b/src/Appwrite/Utopia/Response/Model/User.php index d68a11bac5..56af2156cf 100644 --- a/src/Appwrite/Utopia/Response/Model/User.php +++ b/src/Appwrite/Utopia/Response/Model/User.php @@ -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', [