Browse Source

Merge pull request #9434 from Yuav/patch-1

Add Norwegian Krone currency
Carl Bergquist 8 years ago
parent
commit
363ded6ec1
1 changed files with 8 additions and 0 deletions
  1. 8 0
      public/app/core/utils/kbn.js

+ 8 - 0
public/app/core/utils/kbn.js

@@ -402,6 +402,10 @@ function($, _, moment) {
   kbn.valueFormats.currencyRUB = kbn.formatBuilders.currency('₽');
   kbn.valueFormats.currencyUAH = kbn.formatBuilders.currency('₴');
   kbn.valueFormats.currencyBRL = kbn.formatBuilders.currency('R$');
+  kbn.valueFormats.currencyDKK = kbn.formatBuilders.currency('kr');
+  kbn.valueFormats.currencyISK = kbn.formatBuilders.currency('kr');
+  kbn.valueFormats.currencyNOK = kbn.formatBuilders.currency('kr');
+  kbn.valueFormats.currencySEK = kbn.formatBuilders.currency('kr');
 
   // Data (Binary)
   kbn.valueFormats.bits   = kbn.formatBuilders.binarySIPrefix('b');
@@ -756,6 +760,10 @@ function($, _, moment) {
           {text: 'Rubles (₽)',  value: 'currencyRUB'},
           {text: 'Hryvnias (₴)',  value: 'currencyUAH'},
           {text: 'Real (R$)', value: 'currencyBRL'},
+          {text: 'Danish Krone (kr)', value: 'currencyDKK'},
+          {text: 'Icelandic Krone (kr)', value: 'currencyISK'},
+          {text: 'Norwegian Krone (kr)', value: 'currencyNOK'},
+          {text: 'Swedish Krone (kr)', value: 'currencySEK'},
         ]
       },
       {