Fix datetimepicker so that it doesn't add trailing whitespaces.
Fix datetimepicker so that it doesn't add trailing whitespaces.

Patch by: Pawel Solyga
Reviewed by: to-be-reviewed

MatthewWilkes/mw4068-packaging,MatthewWilkes/mw4068-packaging,MatthewWilkes/mw4068-packaging,MatthewWilkes/mw4068-packaging