The Montana Supreme Court reviews a defendant's claim that the district court incorrectly failed to give him credit for pretrial time served in violation of statute for correctness of the district court's decision. State v. Hafner, 2010 MT 233, ¶ 20–24, 358 Mont. 137, 243 P.3d 435.