No bug. Your problems is right here:

timeFormatter.formatString = "HH:NN:SS";

change this to:

timeFormatter.formatString = "JJ:NN:SS";

H - displays hours as 1 - 24
J - displays hours as 0 - 23 (which is how most of us understand 24 hr time.)

This tripped me up as well on a recent project that I had to sync time code with a TV satellite truck. It drove me crazy and I thought it was a bug as well. What screwed me up is that I expected the pattern letters to be the same as PHP, but in some cases they differ.

Hope that helps.

- Kevin

Reply via email to