plantbreeding / brapi-Java-TestServer

BrAPI Java Spring-Boot Test Server
https://brapi.org
MIT License
5 stars 7 forks source link

PUT /studies/{studyDbId}/observations observationTimeStamp #25

Closed peterrosario closed 5 years ago

peterrosario commented 5 years ago

First, I put() a value for observationTimeStamp. Then, I check results by get()ing. The returned value is from 1970 even though the value I put is in 2013.

BrapiCoordinatorSelby commented 5 years ago

fixed in ead9c6788b3d667caf2d094705e9a7f9e8443243 there was a bad conversion from seconds to milliseconds, so it was dumping every date in 1970.