do not convert strings to datetime, date and time
do not need ljust here
simplify return statement