RTCZero configuration with Feather M0

I am trying to get RTC functionality with alarms for a low-power data logger.

I have the Adafruit Feather M0 LoRa controller, and have tried both the Adalogger feather wing (PFC 8523 ) plus a DS3231 clock. When I use RTCZero with the example SimpleRTC sketch, the datetime resets to 0 after a power cycle (cell battery verified at 3V3).

I can't see how to configure this library for different types of RTCs. Does it magically know - or are you supposed to use it in conjunction with another library?

I can get both the PFC 8523 and DS 3231 to work with RTCLib (GitHub - adafruit/RTClib: A fork of Jeelab's fantastic RTC Arduino library), but I need the alarm functionality to put the device to sleep.

Thanks
Michael

The MO (SAMD micro) already has a RTC embedded in it so no need for the DS3231.

See RTCZero - Arduino Reference