]> git.ipfire.org Git - thirdparty/moment.git/commitdiff
Bosnian translation of August
authorejeges <endre.jeges@kolkida.com>
Sat, 30 Aug 2014 10:30:53 +0000 (12:30 +0200)
committerIskren Chernev <iskren.chernev@gmail.com>
Mon, 17 Nov 2014 05:50:07 +0000 (21:50 -0800)
locale/bs.js
test/locale/bs.js

index 1a5f89ef009e8afcfa5609a76ac2383f0181a90c..2f371bae0a4bddc2ef9b9e0bcd3b5882e1a5b6b2 100644 (file)
@@ -66,8 +66,8 @@
     }
 
     return moment.defineLocale('bs', {
-        months : 'januar_februar_mart_april_maj_juni_juli_avgust_septembar_oktobar_novembar_decembar'.split('_'),
-        monthsShort : 'jan._feb._mar._apr._maj._jun._jul._avg._sep._okt._nov._dec.'.split('_'),
+        months : 'januar_februar_mart_april_maj_juni_juli_august_septembar_oktobar_novembar_decembar'.split('_'),
+        monthsShort : 'jan._feb._mar._apr._maj._jun._jul._aug._sep._okt._nov._dec.'.split('_'),
         weekdays : 'nedjelja_ponedjeljak_utorak_srijeda_četvrtak_petak_subota'.split('_'),
         weekdaysShort : 'ned._pon._uto._sri._čet._pet._sub.'.split('_'),
         weekdaysMin : 'ne_po_ut_sr_če_pe_su'.split('_'),
index 285ab68bdc7737ca117eb951abbec05f5f5f1393..7b13c9640156fcb4e7ad9d0a24bcd43d8976cc4c 100644 (file)
@@ -2,7 +2,7 @@ var moment = require('../../moment');
 
 
     /**************************************************
-      Croatian
+      Bosnian
      *************************************************/
 
 exports['locale:bs'] = {
@@ -20,7 +20,7 @@ exports['locale:bs'] = {
     },
 
     'parse' : function (test) {
-        var tests = 'januar jan._februar feb._mart mar._april apr._maj maj._juni jun._juli jul._avgust avg._septembar sep._oktobar okt._novembar nov._decembar dec.'.split('_'), i;
+        var tests = 'januar jan._februar feb._mart mar._april apr._maj maj._juni jun._juli jul._august aug._septembar sep._oktobar okt._novembar nov._decembar dec.'.split('_'), i;
         function equalTest(input, mmm, i) {
             test.equal(moment(input, mmm).month(), i, input + ' should be month ' + (i + 1));
         }
@@ -111,7 +111,7 @@ exports['locale:bs'] = {
     },
 
     'format month' : function (test) {
-        var expected = 'januar jan._februar feb._mart mar._april apr._maj maj._juni jun._juli jul._avgust avg._septembar sep._oktobar okt._novembar nov._decembar dec.'.split('_'), i;
+        var expected = 'januar jan._februar feb._mart mar._april apr._maj maj._juni jun._juli jul._august aug._septembar sep._oktobar okt._novembar nov._decembar dec.'.split('_'), i;
         for (i = 0; i < expected.length; i++) {
             test.equal(moment([2011, i, 1]).format('MMMM MMM'), expected[i], expected[i]);
         }