Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Q alarm] Not saving configured day of week #1416

Closed
Aracnoss opened this issue Feb 10, 2022 · 2 comments
Closed

[Q alarm] Not saving configured day of week #1416

Aracnoss opened this issue Feb 10, 2022 · 2 comments
Labels
area-apps type-bug Something isn't working

Comments

@Aracnoss
Copy link

Affected hardware version

Bangle 2

Your firmware version

2v12

The bug

Description
Q alarm app not saving configured days of week on any alarms.

Expected
Q alarm app saves days of week configured per alarm.

Steps to recreate

  1. Create/alter any alarm within Q alarm.
  2. Attempt to change default days of week.
  3. Save alarm changes.
  4. Alter same alarm
  5. View days of week again
  6. Will be default values. (Note: not just visual bug, alarms will go off every day regardless of settings)
@Aracnoss Aracnoss added the type-bug Something isn't working label Feb 10, 2022
@HilmarSt
Copy link
Contributor

HilmarSt commented Feb 10, 2022

There's something wrong with storing the DoW setting in qalarm.json: No matter what and how many weekday(s) one disable(s), there's always seven times "true" in daysOfWeek:

[{"t":66300000,"on":true,"rp":true,"as":false,"hard":false,"daysOfWeek":[true,true,true,true,true,true,true,false],"last":10}]

If I change qalarm.json manually to
[{"t":68820000,"on":true,"rp":true,"as":false,"hard":false,"daysOfWeek":[false,true,false,true,true,true,true,false],"last":0}]
Sunday and Tuesday are disabled in the menu.

@bobrippling
Copy link
Collaborator

Looks like this was probably fixed by #1555, feel free to reopen if you see the issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-apps type-bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants