Ok, so please always give us the correct onformation (and pictures, please change it on your first post to avoid future users confusion).
The pins are labeled the same, but the first is the WeMos D1 Mini board (the MCU, like "Arduino UNO"), the latter (the one you have) is a WeMos D1 Mini shield, so even if the pins are labeled exactly the same they are intended to be inserted over the WeMos D1 mini board (like the Arduino shields are labeled with the same you have on Arduino UNO).
If you need an RTC+SD shield for Arduino UNO you should better buy one of the numerous RTC+SD Arduino UNO shields like THIS.
I'm sorry, I never used a WeMos D1 shield with Arduino and never used the WeMos D1 RTC shield, so I don't know how and if it could work with an UNO.