2015-08-26 17:06:59 +00:00
|
|
|
- var sec = Math.round(this.props.value / 1000);
|
2015-08-25 22:13:31 +00:00
|
|
|
- var min = sec >= 60 ? Math.round(sec / 60) : 0;
|
|
|
|
- var suffix = this.props.withSuffix ? 'in ' : '';
|
|
|
|
span(title= sec + ' sec')= suffix + (min ? min + ' min' : sec + ' sec')
|