fix default data of calendar control. refs 460.

previously html of this input element has space like
`value=" 2017-06-01 16:00 "`, but it should be `value="2017-06-01 16:00"`.