Alarm time not displayed on Samsung S23

Hello, in KWGT widget I am reworking a widget transferred from a Samsung Galaxy S8 phone, I noticed that earlier on the S8 the following formula: $df(“EEE hh:mm”, si(alarmd))$ returned the time of the next alarm, but on the S23 it returns Mon 00:00, although the alarm clock is clearly set for 6 am, it is an alarm clock, not a setting of sleep modes.

Please tell me is it possible to fix this?

Check the information from the link below and see if it helps.