Skip to content

Clock 12 Hr setting issues #2

@ITBlandMCT

Description

@ITBlandMCT

When the clock is set to 12 Hr mode, there is one problem and one setting missing:

  1. In 12 hr mode the % calculation results in a zero for the first hour and 12th hour of the day.
    Possible solution: just after line 390, would an if statement something like:
    if (hour == 0 && currentSettings.clockMode == CLOCK_12) hour = 12;
    be the fix since it would be a problem for both the RTC and GPS in 12 Hr mode.
  2. In 12 hr mode, the clock's flags data byte sent should be updated to 0xA0 for AM, 0xC0 for PM

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions