InfoAmazonia / rede-site

Rede InfoAmazonia is a platform for water quality sensors
MIT License
9 stars 6 forks source link

wrong time for the reading #49

Closed vjpixel closed 9 years ago

vjpixel commented 9 years ago

apparently the readings seems to show with a timestamp 3 hours earlier.

miguelpeixe commented 9 years ago

This might be a backend problem.

Converting measurement id 560049f4ad07962e35ccf498: ISO8601 data received from API: 2015-09-21T15:18:28.000Z Convert to RFC 2822: Mon, 21 Sep 2015 12:18:28 -03:00

That's the time being displayed on the dashboard.

miguelpeixe commented 9 years ago

@vgeorge

miguelpeixe commented 9 years ago

fixed applying utc() method on momentjs