grafana/public/test/core/utils
Axel 2adbe3e13e Prettify duration value format (#6875)
* Prettify duration unit format

Format duration like "2 days, 19 hours, 48 minutes" and make Decimals useful e.g.
0 decimals: 2 days
2 decimals: 2 days, 19 hours, 48 minutes
3 decimals: 2 days, 19 hours, 48 minutes, 27 seconds

Previous code did some rounding that is now gone so numbers might be
different.

* Rewrite kbn.toDuration without moment.js

Because https://github.com/moment/moment/issues/3653

* Add tests for kbn.toDuration
2016-12-09 15:55:25 +01:00
..
datemath_specs.ts refactor(lodash): changed how lodash is referenced from typescript 2015-12-22 13:59:11 +01:00
emitter_specs.ts feat(templating): progress on variable system refactoring, #6048 2016-09-19 11:34:08 +02:00
flatten_specs.ts tech(systemjs): merged sync with master, all tests are passing 2015-12-21 16:13:24 +01:00
kbn_specs.js Prettify duration value format (#6875) 2016-12-09 15:55:25 +01:00
rangeutil_specs.ts support future time range 2016-10-18 19:39:04 +09:00