Fix handling of de time when no time is specified