Alarmclock wrong indication

$df(“EEE hh:mm”, si(alarmd))$ shows alarm time minus 1 hour, i.e. if alarm is set for 7:00 it shows 6:00 etc.
The device is Xiaomi with MIUI 12

First, make sure the Location setting is properly set. If your clock is in a layer, make sure to double-check the layer’s TZone and Location values.

I followed your recommendations. Everything looks correct. The problem is in force.

Can you turn off MIUI Optimization from your device’s developer options?

Do you mean I have to turn MIUI off at all, i.e. to boot the device without MIUI?

Instructions on how to do this can be found here: