a couple of fixes here

- I believe the file i cloned is different from the download because line 136 is different and not something i changed
- adding in a check for default values in inputs so it re sets up values set previously in the value attribute on the input
- in the switch for from_format the error reports desired_format which i found useless since we are looking at from_format in the switch
- I added this fix i found from the github issues page for fixing an string conversion error and feel free to remove that jbaker comment that was a mistake comment.
- finally the for loop in addDates needs to be doing a for based off the length of dates the commit here doesn’t show it but this use to be a for in loop.