If your house was your principal residence, then it doesn’t really matter if you include/exclude the time you owned jointly, as there is no tax consequences to selling your principal residence. It just needs to be reported.
Here is some more information regarding Reporting the Sale of Your Principal Residence:
https://turbotax.intuit.ca/tips/reporting-the-sale-of-your-principal-residence-7096
If your house was not your principal residence, you should check with the CRA as to what you should do, since Capital gains may be involved.
https://turbotax.community.intuit.ca/replies/2647704