The Daylight Saving Time Bug That Broke My Weather Bot for 8 Months

Every losing trade my weather bot made fell in the DST window. Here is how I found it, what the code looked like, and the fix.