Adds Relative Time options now,weeks & years (#4304)

* Adds 'now' as an option in relative time

* reenables no-console in previous spot

* Adds weeks,months,years and abbreviations

* modified tests to address coverage

* month be gone!
This commit is contained in:
Benjamin Wilson Friedman
2017-11-01 13:31:08 -07:00
committed by GitHub
parent 84aadba23a
commit 46af1b6955
4 changed files with 62 additions and 6 deletions

View File

@@ -256,6 +256,7 @@ class ParseServer {
/* eslint-disable no-console */
console.warn(`\nWARNING, Unable to connect to '${Parse.serverURL}'.` +
` Cloud code and push notifications may be unavailable!\n`);
/* eslint-enable no-console */
if(callback) {
callback(false);
}