Fix input handler to deal with floats.
Add dates.erl.