show/hide this revision's text 2 added 276 characters in body

I'm using these methods to get the details about a case estimate from the API.

double thisBug.hrsOrigEst
double thisBug.hrsCurrEst
double thisBug.hrsElapsed

Is there a way to use the API to get these in the representation that FB uses without looking up the site schedule and directly doing the calculation.

For example:

"2.5 days" or "22 minutes"

I know the math isn't that hard to do myself, but I'd like to "future proof" this a bit by using a standard FB API call in case the logic for calculating days changes based on changes to the way the site schedule works.

Feature Request:
Add a property to these objects to quickly format them in the FB standard way.

string thisBug.hrsOrigEst.forDisplay

Fog Creek Case FC2052647

show/hide this revision's text 1

Formatting of estimates

I'm using these methods to get the details about a case estimate from the API.

double thisBug.hrsOrigEst
double thisBug.hrsCurrEst
double thisBug.hrsElapsed

Is there a way to use the API to get these in the representation that FB uses without looking up the site schedule and directly doing the calculation.

For example:

"2.5 days" or "22 minutes"

I know the math isn't that hard to do myself, but I'd like to "future proof" this a bit by using a standard FB API call in case the logic for calculating days changes based on changes to the way the site schedule works.

Feature Request:
Add a property to these objects to quickly format them in the FB standard way.

string thisBug.hrsOrigEst.forDisplay