From 05c56831de4ac941447afb489e80bd39b9d77986 Mon Sep 17 00:00:00 2001 From: Oswaldo Rubio Date: Sun, 24 Jan 2021 16:00:29 +0100 Subject: [PATCH] updated doc --- README.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4e58582..8f28146 100644 --- a/README.md +++ b/README.md @@ -41,7 +41,8 @@ let rawDates = """ [ { "value" : "2015-08-29T11:22:09Z"}, { "value" : "2015-08-29T11:22:09.129Z"}, - { "value" : "2020-11-27"} + { "value" : "2020-11-27"}, + { "value" : "2019-08-03 23:59:59"} ] """.data(using: .utf8) @@ -52,5 +53,5 @@ struct DateContainer: Decodable { } let dates = try? decoder.decode([DateContainer].self, from: rawDates!) -XCTAssertEqual(dates?.count, 3) +XCTAssertEqual(dates?.count, 4) ```