Support multiple time formats