Cut and paste this URL to share the unmodified register and value:
https://regviz.com/r/STMicroelectronics/STM32L0x2/RTC/SHIFTR#0x0
RTC shift control register
Subtract a fraction of a second
Add one second
https://github.com/cmsis-svd/cmsis-svd-data