The Tournament Director Forums

Main => Templates, Layouts and Sounds => Topic started by: T-Bone on September 05, 2013, 05:24:22 AM

Title: Next Break Hours & Minutes Display
Post by: T-Bone on September 05, 2013, 05:24:22 AM
Is there a way to have the HH and MM display as hour(s) and minute(s) instead of H and M?
Title: Re: Next Break Hours & Minutes Display
Post by: Corey Cooper on September 05, 2013, 10:50:49 AM
If what you mean is:

Next Break: 1 hour(s), 37 minute(s)

You could do that with this:

Next Break: <nextBreak format="H"> hour(s), <nextBreak format="M"> minute(s)
Title: Re: Next Break Hours & Minutes Display
Post by: T-Bone on September 05, 2013, 01:17:02 PM
Thanks for the response. What I get with this is: 1h hour(s), 37m minute(s) not 1 hour(s), 37 minute(s).
Title: Re: Next Break Hours & Minutes Display
Post by: Corey Cooper on September 09, 2013, 10:32:50 AM
You're right, and I don't know how I managed to get it to display properly before.  I can't see how it would be possible.  The closest thing is this:

Next Break: <nextBreak format="H">our(s), <nextBreak format="M">inute(s)

The issue is that there's no space between the numbers and the words:

Next Break: 1hour(s), 13minute(s)

That's the best I can get it.
Title: Re: Next Break Hours & Minutes Display
Post by: T-Bone on September 09, 2013, 01:17:20 PM
I'll try this and see which looks best to me: 1hour or 1h. Thanks again.