Custom improvements to datetime UI helper.