grafana/public/test/core
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
..
utils Prettify duration value format (#6875) 2016-12-09 15:55:25 +01:00
table_model_specs.ts tech(systemjs): merged sync with master, all tests are passing 2015-12-21 16:13:24 +01:00
time_series_specs.js first, delta, range passing unit tests 2016-11-29 08:26:31 +02:00