pilwon / node-yahoo-finance

Yahoo Finance historical quotes and snapshot data downloader written in Node.js
491 stars 123 forks source link

Fix toDate to handle multiple formats #15

Closed neverfox closed 8 years ago

neverfox commented 9 years ago

12 broke the conversion of the d1 field for snapshots. This fixes it by using moment's ability to specify multiple alternative formats.

pilwon commented 8 years ago

@neverfox Sorry for the delay in merge. Thanks for the PR-

Published as yahoo-finance@0.2.12