You are reading a single comment by @user140377 and its replies. Click here to read the full conversation.
  • Just checked, there is also a problem, the current setDST() call does not return true on Date.getIsDST() if inside the dst time.

    Also I would rename setDST() to setAutoDST() and update widdst accordingly and just add a new setDST() with just ab Integer as param. Or setDST() just checks the type of parameter. If array handle as before, if Integer just add param number of seconds to setTimeZone().

    Next control the order of the setDST() calls, last one wins. So if widdst is installed chances are high that the user does want automatic dst setting and not from gadgetbridge.

About

Avatar for user140377 @user140377 started