title: Uppercasing monthnames in momentjs
body: <p>I changed moments locale by setting the following property:</p>
  
  <pre><code>moment.locale(chosenLocale);
  </code></pre>
  
  <p>Everything seems to work fine. I get the month names and the weekday names according to the selected locale. I also get correct calculation of weeknumber etc.</p>
  
  <p>With default (english) locale i get month names like January, February, etc. I also get weekday names like Monday, Tuesday, etc. For some reason, with danish locale i get all these names lowercased. When formatting a simple weekday, i can just capitalize the first letter but for some more advanced formats where the name might swap order (<code>January 1st</code> vs. <code>1. Januar</code>) i can't just uppercase the first letter.</p>
  
  <p>I'm using this format to display the month name and day of month:</p>
  
  <pre><code>moment().format('dddd LL')
  </code></pre>
  
  <p>In danish i get <code>7. marts 2016</code> but i really want <code>7. Marts 2016</code>. Keep in mind, i need the solution to work on all locales, so i can't hardcode the month names - or can I? I tried the following:</p>
  
  <pre><code>moment.locale(chosenLocale);
  var __months = moment.months().map(function (m) { return m.toUpperCase() + "TEST"; });
  moment.locale(chosenLocale, {
      months : __months
  }); 
  </code></pre>
  
  <p>I would expect (for testing purposes) to get <code>JANUARTEST</code> for danish locale, but i get <code>januartest</code> which hints that the lower case is applied by the framework somewhere else. I also tried to set the <code>months</code> property to a function according the the api docs and then return the uppercase value of the cached month array, which same result as described.</p>
  
  <p>Does anyone have a solution to this?</p>