Unexpected Seven Segment Output

Well, now I don't know what the code or wiring is now but I agree with the above wiring if SSD1 is hours (left display) and SSD2 is minutes (right display). But I don't know how you're getting 2312 if it's wired that way.