Closed llonchj closed 4 years ago
The documentation in https://finnhub.io/docs/api#major-developments describes the response attribute datetime as UNIX ms and the sample response shows the attribute date.
datetime
date
curl 'https://finnhub.io/api/v1/major-development?symbol=AAPL&token=YOURTOKEN'
The real API call returns datetime as a string in YYYY-MM-DD HH:MM:SS.
YYYY-MM-DD HH:MM:SS
Thank you for reporting. We will fix it asap
What is the issue ?
The documentation in https://finnhub.io/docs/api#major-developments describes the response attribute
datetime
as UNIX ms and the sample response shows the attributedate
.How to reproduce the error ?
curl 'https://finnhub.io/api/v1/major-development?symbol=AAPL&token=YOURTOKEN'
What is the expected result and why do you think it's the correct result ?
The real API call returns
datetime
as a string inYYYY-MM-DD HH:MM:SS
.datetime
should be replaced with the right format.date
instead ofdatetime
.