]> git.ipfire.org Git - thirdparty/moment.git/commitdiff
Update nb.js
authorThomas Kallevik <thomas.kallevik@gmail.com>
Wed, 24 Jul 2013 06:59:38 +0000 (08:59 +0200)
committerThomas Kallevik <thomas.kallevik@gmail.com>
Wed, 24 Jul 2013 06:59:38 +0000 (08:59 +0200)
Change the long date format, so that it follows the most common Norwegian system for dates (DD.MM.YYYY). Ref. http://en.wikipedia.org/wiki/Date_and_time_notation_in_Norway.

lang/nb.js

index a39f8f5a91b7876d9df87c0c6d7f7753e451cdc5..a7dcc18358df88405c86a6f7a83fa235bfa76fb3 100644 (file)
@@ -10,7 +10,7 @@ require('../moment').lang('nb', {
     weekdaysMin : "sø_ma_ti_on_to_fr_lø".split("_"),
     longDateFormat : {
         LT : "HH:mm",
-        L : "YYYY-MM-DD",
+        L : "DD.MM.YYYY",
         LL : "D MMMM YYYY",
         LLL : "D MMMM YYYY LT",
         LLLL : "dddd D MMMM YYYY LT"