datetime format works both with or without T