From fdd528cbcceb063c1844d17cc070ea5590841d0a Mon Sep 17 00:00:00 2001 From: Greg Wilson Date: Tue, 28 Jun 2016 22:59:37 -0400 Subject: [PATCH] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 0c5fc4e..20af1ca 100644 --- a/README.md +++ b/README.md @@ -208,14 +208,14 @@ ___ #### **`getMultiDayStepCounts`** get the total steps per day over a specified date range. -`getMultiDayStepCounts` accepts an options object containing *`startDate: ISO8601Timestamp`*, and optional *`endDate: ISO8601Timestamp`* fields. if `endDate` is not provided it will default to the current time +`getMultiDayStepCounts` accepts an options object containing required *`startDate: ISO8601Timestamp`* and optional *`endDate: ISO8601Timestamp`*. if `endDate` is not provided it will default to the current time ```javascript let options = { startDate: (new Date(2016,5,1)).toISOString() // required endDate: (new Date()).toISOString() // optional; default now }; ``` -The function will be called with an array of elements `res` containing date and step count information +the function will be called with an array of elements `res` containing date and step count information ```javascript AppleHealthKit.getMultiDayStepCounts(options, (err: Object, res: Array>) => { if(this._handleHealthKitError(err, 'getMultiDayStepCounts')){ -- 2.26.2