MB-12059. Pass correct formatting to strToTime