This is the scheamtic with the Arduino NANO and the DS3231 RTL module. Make the connections as below. Make sure taht al segments A are connected together, all segments B, all segments C and so on.. Also taht you ahev 4 different GND connectiosn to the MAX7219 driver.