Parse initValue as date

In 9ea32e2e2b0c668152011b52bc4d5901d33f6979 parsing the initValue (string) as a date has been removed.

For me this leads to a type error ("undefined is not a function") in line 258 when working with strings as initial values.