Author Topic: Next Break Hours & Minutes Display  (Read 2021 times)

T-Bone

  • Full Member
  • ***
  • Posts: 170
    • View Profile
Next Break Hours & Minutes Display
« 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?
If it ain't naked, deep-fried or poker-related, I ain't interested!

Corey Cooper

  • Administrator
  • Hero Member
  • *****
  • Posts: 5428
    • View Profile
Re: Next Break Hours & Minutes Display
« Reply #1 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)

T-Bone

  • Full Member
  • ***
  • Posts: 170
    • View Profile
Re: Next Break Hours & Minutes Display
« Reply #2 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).
« Last Edit: September 06, 2013, 07:01:21 AM by T-Bone »
If it ain't naked, deep-fried or poker-related, I ain't interested!

Corey Cooper

  • Administrator
  • Hero Member
  • *****
  • Posts: 5428
    • View Profile
Re: Next Break Hours & Minutes Display
« Reply #3 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.

T-Bone

  • Full Member
  • ***
  • Posts: 170
    • View Profile
Re: Next Break Hours & Minutes Display
« Reply #4 on: September 09, 2013, 01:17:20 PM »
I'll try this and see which looks best to me: 1hour or 1h. Thanks again.
If it ain't naked, deep-fried or poker-related, I ain't interested!