Author Topic: Format Countdown Clock?  (Read 93 times)

efdenny

  • Full Member
  • ***
  • Posts: 107
    • View Profile
Format Countdown Clock?
« on: October 13, 2017, 04:12:37 PM »
Is there a way to remove the preceding zero from the Countdown clock? I'd rather show "4:57:12" rather than "04:57:12", but I don't see a place to format this. My tournament clock cell doesn't show this preceding zero... Make sense?

TIMMER

  • Hero Member
  • *****
  • Posts: 557
    • View Profile
Re: Format Countdown Clock?
« Reply #1 on: October 14, 2017, 08:54:35 AM »
Looks like it's <clock alwaysShowsHours="true" format="clock"
Change the TRUE to FALSE
or just use "clock"

efdenny

  • Full Member
  • ***
  • Posts: 107
    • View Profile
Re: Format Countdown Clock?
« Reply #2 on: October 14, 2017, 09:12:59 AM »
Great idea, Timmer, but that doesn't work for the countdown. My tournament clock does not show the preceding zero, but the countdown timer does.

TIMMER

  • Hero Member
  • *****
  • Posts: 557
    • View Profile
Re: Format Countdown Clock?
« Reply #3 on: October 14, 2017, 09:29:12 AM »
On my countdown clock I use ... "clock"
Countdown clock and clock are the same to me anyways
« Last Edit: October 14, 2017, 10:46:44 AM by TIMMER »

efdenny

  • Full Member
  • ***
  • Posts: 107
    • View Profile
Re: Format Countdown Clock?
« Reply #4 on: October 14, 2017, 11:33:59 AM »
ah, now I understand. There's a feature called "Countdown" that does a countdown until the start of the tournament. That's what I'm referring to, not the actual clock for the rounds during the tournament.

Corey Cooper

  • Administrator
  • Hero Member
  • *****
  • Posts: 5428
    • View Profile
Re: Format Countdown Clock?
« Reply #5 on: October 14, 2017, 12:36:42 PM »
Try changing it to:

<clock format="hMSS:">

That will show the "hours" part only if there is an hour or more on the clock.  It will always show the minutes, but won't put a leading zero unless there are also hours showing.

efdenny

  • Full Member
  • ***
  • Posts: 107
    • View Profile
Re: Format Countdown Clock?
« Reply #6 on: October 14, 2017, 02:37:06 PM »
That did it... thanks Corey!