From c8d819bad660ab8a547d41719bc8e5bfd32ecfe7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ralph=20K=C3=BCpper?= Date: Fri, 9 Mar 2018 08:38:49 -0500 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3db9c64..ad254cf 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,7 @@ let dateString = "2018-03-08T15:49:46.5+03:30" let dateFormatter = DateFormatter() dateFormatter.timeZone = TimeZone(secondsFromGMT: 0) dateFormatter.dateFormat = "YYYYMMdd'T'HHmmss'Z'" -let date:Date = dateFormatter.string(from: dateString) // this will not work work. +let date:Date = dateFormatter.string(from: dateString) // this will not work. ``` With _SwiftyDates_ all you need to do is this: