Oh that’s interesting I’m no criminal law expert!
So it’ll be time served
Canada has the British system, more or less.
They can hold you up to 96 hours without charges.
There is no time limit that they can hold you, if you are facing charges, other than it must be considered reasonable, which basically means the time needed for the the prosecution and defense to get their case together and schedule you for trial.
Then, if you are found guilty, they will account for the time you were held in custody and give it back to you in a form of a credit.
It could be just time served, because the minimal sentence is a year. But he would get a year off if he sentenced to a longer time.