On February 13, 2019, in State v. Brown, the South Carolina Court of Appeals held individuals are entitled to credit for time served during pre-trial commitments to a secure mental health facility to restore competency to stand trial.
Click this link to read State v. Brown.