Error and/or relief
The trial court erred in calculating defendant’s custody credits. Because he participated in the sober living program pursuant to a court order, he is entitled to custody credit for the time he spent there. The People concede this issue. We agree with the parties.
First Holding:
Credit for time served that is miscalculated must be corrected.
Authority:
PEN 2900.5(a)
Second Holding:
Involuntary time in treatment counts as credit for time served when attributable to the criminal proceedings.
Authority:
People v. Davis (2023) 87 Cal.App.5th 771, 777 [Section 2900.5 has two components: First, that the placement be custodial, and second, that the custody be attributable to the proceedings relating to the same conduct for which defendant has been convicted]
People v. Billy (2024) 107 Cal.App.5th 246, 262-264, [Defendant’s voluntary stay at a rehabilitation facility did not qualify for custody credit under section 2900.5]

