Commit 7ace2463 by Mitja Zivkovic

added cubic decimetre - dm3 #7695

parent fe970f66
...@@ -488,6 +488,7 @@ function($, _) { ...@@ -488,6 +488,7 @@ function($, _) {
kbn.valueFormats.litre = kbn.formatBuilders.decimalSIPrefix('L'); kbn.valueFormats.litre = kbn.formatBuilders.decimalSIPrefix('L');
kbn.valueFormats.mlitre = kbn.formatBuilders.decimalSIPrefix('L', -1); kbn.valueFormats.mlitre = kbn.formatBuilders.decimalSIPrefix('L', -1);
kbn.valueFormats.m3 = kbn.formatBuilders.decimalSIPrefix('m3'); kbn.valueFormats.m3 = kbn.formatBuilders.decimalSIPrefix('m3');
kbn.valueFormats.dm3 = kbn.formatBuilders.decimalSIPrefix('dm3');
kbn.valueFormats.gallons = kbn.formatBuilders.fixedUnit('gal'); kbn.valueFormats.gallons = kbn.formatBuilders.fixedUnit('gal');
// Flow // Flow
...@@ -805,10 +806,11 @@ function($, _) { ...@@ -805,10 +806,11 @@ function($, _) {
{ {
text: 'volume', text: 'volume',
submenu: [ submenu: [
{text: 'millilitre', value: 'mlitre' }, {text: 'millilitre', value: 'mlitre' },
{text: 'litre', value: 'litre' }, {text: 'litre', value: 'litre' },
{text: 'cubic metre', value: 'm3' }, {text: 'cubic metre', value: 'm3' },
{text: 'gallons', value: 'gallons'}, {text: 'cubic decimetre', value: 'dm3' },
{text: 'gallons', value: 'gallons'},
] ]
}, },
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment