Skip to content

New Share your ideas with the AWTRIX community. Keep your creations together in your account.

Sign in

Report content

Tell us about content that is unlawful or breaks the rules. You do not need an account. Add your email address if you would like to hear the outcome.

Comment by Naumsede

Thanks for the script! Found a bug: night mode ends at midnight instead of at night_end whenever the hour has a leading zero (e.g. "07:00", or the default "08:00"). Cause: parse_min() uses num(m[1], 0) and num(m[2], 0). On AWTRIX NG 1.1.2, num() returns the fallback for zero-padded strings like "07" or "00", so "07:00" (and the default "08:00") is parsed as 0 → the night window ends at 00:00. Fix: use int() instead: var h = int(m[1]) var mi = int(m[2]) if h < 0 || h > 23 || mi < 0 || mi > 59 return dflt end return h * 60 + mi

What is wrong?

Include the exact link if the content is not already shown above, and explain why it is unlawful or breaks the rules. Please avoid sharing unnecessary personal details.

Your contact details — optional

We consider anonymous reports too. A complete notice of unlawful content under Article 16 DSA normally includes your name and e-mail address; the exception for child sexual abuse offences applies. Without contact details, we cannot send you the outcome. Reports are normally kept for three years; the privacy policy explains retention and any documented extension.

How we handle reports is described in the terms of service.