patriques82 / alphavantage4j

(Repository is not maintained anymore) A Java wrapper to get stock data and stock indicators from the Alpha Vantage API
https://www.alphavantage.co/
Apache License 2.0
124 stars 73 forks source link

Dynamic date parsing #31

Closed nsdhillon1 closed 6 years ago

nsdhillon1 commented 6 years ago

AlphaVantage (intermittently) passes different format (include seconds vs. not) for datetime for DAILY series. I have ran into this issue twice in last 2 weeks, screenshot of the error provided below. This change allows for dynamic detection of the format.

a

nsdhillon1 commented 6 years ago

I reverted as I was trying to separate the two commits. Otherwise, they are both good and working fine for me. Thanks

On Sep 2, 2018, at 8:52 PM, Patrik Nygren notifications@github.com wrote:

Why did you revert PR #30 in this PR?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.