denisemauldin / d3-timeline

D3 timeline
BSD 3-Clause "New" or "Revised" License
168 stars 72 forks source link

Added function to sets a custom time to be used by showToday function #25

Open marcelo-3d opened 4 years ago

marcelo-3d commented 4 years ago

Hello how are you? I would like to make a code improvement suggestion as I develop a project using the d3 timeline, but I need to set a custom date to use with the showToday () function. I made the necessary code modification just to add the feature without interfering with the rest of the code. If you could accept the change in your repository and update your package at https://www.npmjs.com/package/d3-timelines, it would be of great help. Can you help me? Thanks in advance!