From c87f9b58ae5ddb33669b725cfcc8b6b34017fd21 Mon Sep 17 00:00:00 2001 From: Lost Carrier Date: Tue, 9 Mar 2021 21:02:08 +0100 Subject: [PATCH] Arghl... fixing docs. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 4665518..36988e0 100644 --- a/README.md +++ b/README.md @@ -28,8 +28,8 @@ You'll get CLIENT_ID and CLIENT_SECRET at https://dev.netatmo.com/dev/createapp. client.login(E_MAIL, PASSWORD); List types = Arrays.asList(Params.TYPE_TEMPERATURE, Params.TYPE_PRESSURE, Params.TYPE_HUMIDITY); - ZonedDateTime dateBegin = ZonedDateTime.parse("2015-09-10T00Z"); - ZonedDateTime dateEnd = ZonedDateTime.parse("2015-09-11T00Z"); + ZonedDateTime dateBegin = ZonedDateTime.parse("2015-09-10T00:00Z"); + ZonedDateTime dateEnd = ZonedDateTime.parse("2015-09-11T00:00Z"); Station station = client.getStationsData().get(0); List measures = client.getMeasures(station, station.getModules().get(0), types, Params.SCALE_MAX, dateBegin, dateEnd, null, null);