robbydyer/sports

24h Clock

Closed this issue · 8 comments

kif23 commented

Using this from the EU.. we need an option for 24h

Sure thing, I'll get that option added.

Latest version now has an option for this. Under clockConfig in your config file, set enable24Hour: true. See https://github.com/robbydyer/sports/blob/master/sportsmatrix.conf.example#L123

https://github.com/robbydyer/sports/releases/tag/v0.0.88

kif23 commented

installed 0.0.88beta1 via

curl https://raw.githubusercontent.com/robbydyer/sports/master/script/beta-install.sh | sudo bash

/etc/sportsmatrix.conf looks like

# Clock Board
clockConfig:
  enabled: true

  # Set this to true to show the clock board in between every other board
  showBetween: false

  boardDelay: "5s"

  # Enable 24 Hour clock
  enable24Hour: true

restarted the service and pi, but still 12h AM/PM in clock card.

v0.0.88 is what you want. Run the regular, non-beta installer. Notice the script is install.sh and not beta-install.sh

curl https://raw.githubusercontent.com/robbydyer/sports/master/script/install.sh | sudo bash
kif23 commented

my bad!

installed v0.0.88 via

curl https://raw.githubusercontent.com/robbydyer/sports/master/script/install.sh | sudo bash

but now it shows 08:30 instead of 20:30

Yep, I realize now (I tested this before 12:00pm) that I have a bug

Try again, v0.0.89 should fix that issue

kif23 commented

looks good!

i think in all other boards there are similar problems with the display of 24h times