From c8abfa88c036c104a34b6af60f75b61a6c4b488c Mon Sep 17 00:00:00 2001 From: Yutang-Shi Date: Sun, 18 Feb 2018 16:21:14 +0800 Subject: [PATCH] Update README.md --- README.md | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/README.md b/README.md index 4714b42..9eb6b61 100644 --- a/README.md +++ b/README.md @@ -10,7 +10,7 @@ Parse Date to Simple Object in JavaScript ## Usage ```bash -npm i date2obj --save +npm i form-validation --save ``` ```js @@ -33,18 +33,6 @@ console.log(currentTime); // minute: 'mm', // second: 'SS' // } - -const otherTime = date2obj(new Date(1518545575000)); -console.log(otherTime); -// Local time with the epoch -// { -// year: "2018", -// month: "02", -// day: "14", -// hour: "02", -// minute: "12", -// second: "55" -// } ``` ## License