There's a sentence written in my textbook, and I have some question about 'if' and 'when'.
- The only times we would go to a restraunt was if it was a special occasion.
I think 'only' and 'if' goes well together to emphasize that we would never go to a restaurant if there was no any special event.
- The time we would go to a restaurant was when it was a special occasion.
In this context, it is possible to go to a restaurant on days when it was not any special event.
So,
I'm curious if it would be legitimate use if I said like this.
- The only time we would go to a restaurant was when it was a special occasion.
I think it is possible, but it would be the best to use 'if'.
Am I right to think this way?