• Hi,

    Hopefully this is a suitable place to raise bug reports.

    I've recently got a Bangle JS2. While poking through the settings, I saw the option Settings->System->Locale->Start Week On.

    I changed the setting from "Sunday" to "Monday", as I prefer my calendar have Monday as the first day of the week. After changing this setting, things started to break:

    • Going to set an alarm, and choosing "Weekdays", it selects Tuesday->Saturday instead of Monday->Friday
    • I went to try change "Start Week On" back to Sunday, but the option for Sunday was now gone. Instead, the option was now only between Monday or Tuesday, with Tuesday selected by default (I changed it back to Monday)
    • Alarms that I have configured to only go off on Wednesday are instead going off on Tuesday


    Cheers,
    Joppy

  • Can't say that my Bangle does this.
    Can you please add the versions of the firmware, the alarm and scheduler apps?

  • Hi - thanks for letting us know!

    When you say "it selects Tuesday->Saturday instead of Monday->Friday" you mean it shows Repeat _twtfs_? Or that it actually shows Repeat mtwtf__ but the alarm works on the wrong day?

    I've tried here and the alarm does show Repeat mtwtf__ for me, but looking at the code I am a little concerned it's not working. I'll look into it a bit more later but I have another issue I need to fix at the moment.

  • Just checked again, and as far as I can tell, everything works great here and the code is fine.

    I went to try change "Start Week On" back to Sunday, but the option for Sunday was now gone.

    This definitely doesn't happen here, so it could be some of your apps are out of date?

  • Hi,

    The bangle arrived with firmware v2.17. I have since updated it to v2.18.

    Alarms & Timers - v0.39
    Scheduler - v0.22 (shows up twice in the app list on Gadgetbridge)
    Settings - v0.59

    Yes, when I choose Repeat Alarm:
    "Weekends" gives me m_____s
    "Workdays" gives me _twtfs_
    Manually selecting a day, eg, Wednesday, shows as __w____ but the alarm goes off on Tuesday.

    When I go back into the locale settings, I have never again had the option of choosing Sunday as the first day of the week. Ever since I first changed it to Monday, the menu only offers the two options "Monday" or "Tuesday". I even tried changing it to Tuesday and rebooting to see what would happen, and the menu still only offers Monday or Tuesday.

  • @Gordon
    Probably related to : new Date(((i || 0) + 3.5) * 86400000) where the .5 of a day is not compatible for some timezones?

    @JoppyFurr what is your timezone?

  • The Alarms and Settings apps do seem out of date, so it would help to update those to the correct versions.

    I'm not seeing that issue with "Monday" or "Tuesday" in the settings menu either.

    Just had a thought - what's your timezone?

    I think it could be timezone related - so maybe it worked ok, but then your timezone updated and that threw the day namings off?

  • Ok, I have just updated date_utils as it had an issue (only) if you happened to be in timezone +12.

    But this is a module that is installed when you update apps. Luckily it seems your affected apps are Alarm & Timers and Settings, which are out of date anyway - so if you update them via Gadgetbridge now I think you'll be sorted (assuming it was the timezone issue?)

  • Hi,

    Yes, I am in New Zealand (GMT+12 now, GMT+13 during the summer).

    I have updated the Settings and Alarms & Timers apps and everything appears to be working now :D

    Thank you,
    Joppy

  • Great - glad that fixed it! If you find other issues like that please let us know - it's possible there are other bits of code where assumptions are made about the Timezone being within +/- 12 (but not 12 or above).

  • Post a reply
    • Bold
    • Italics
    • Link
    • Image
    • List
    • Quote
    • code
    • Preview
About

BUG: "Start Week On" setting appears to break alarms and not easy to undo

Posted by Avatar for JoppyFurr @JoppyFurr

Actions