Ohm-Management - Projektarbeit B-ME
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

nb.js 2.1KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. //! moment.js locale configuration
  2. ;(function (global, factory) {
  3. typeof exports === 'object' && typeof module !== 'undefined'
  4. && typeof require === 'function' ? factory(require('../moment')) :
  5. typeof define === 'function' && define.amd ? define(['../moment'], factory) :
  6. factory(global.moment)
  7. }(this, (function (moment) { 'use strict';
  8. var nb = moment.defineLocale('nb', {
  9. months : 'januar_februar_mars_april_mai_juni_juli_august_september_oktober_november_desember'.split('_'),
  10. monthsShort : 'jan._feb._mars_april_mai_juni_juli_aug._sep._okt._nov._des.'.split('_'),
  11. monthsParseExact : true,
  12. weekdays : 'søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag'.split('_'),
  13. weekdaysShort : 'sø._ma._ti._on._to._fr._lø.'.split('_'),
  14. weekdaysMin : 'sø_ma_ti_on_to_fr_lø'.split('_'),
  15. weekdaysParseExact : true,
  16. longDateFormat : {
  17. LT : 'HH:mm',
  18. LTS : 'HH:mm:ss',
  19. L : 'DD.MM.YYYY',
  20. LL : 'D. MMMM YYYY',
  21. LLL : 'D. MMMM YYYY [kl.] HH:mm',
  22. LLLL : 'dddd D. MMMM YYYY [kl.] HH:mm'
  23. },
  24. calendar : {
  25. sameDay: '[i dag kl.] LT',
  26. nextDay: '[i morgen kl.] LT',
  27. nextWeek: 'dddd [kl.] LT',
  28. lastDay: '[i går kl.] LT',
  29. lastWeek: '[forrige] dddd [kl.] LT',
  30. sameElse: 'L'
  31. },
  32. relativeTime : {
  33. future : 'om %s',
  34. past : '%s siden',
  35. s : 'noen sekunder',
  36. ss : '%d sekunder',
  37. m : 'ett minutt',
  38. mm : '%d minutter',
  39. h : 'en time',
  40. hh : '%d timer',
  41. d : 'en dag',
  42. dd : '%d dager',
  43. M : 'en måned',
  44. MM : '%d måneder',
  45. y : 'ett år',
  46. yy : '%d år'
  47. },
  48. dayOfMonthOrdinalParse: /\d{1,2}\./,
  49. ordinal : '%d.',
  50. week : {
  51. dow : 1, // Monday is the first day of the week.
  52. doy : 4 // The week that contains Jan 4th is the first week of the year.
  53. }
  54. });
  55. return nb;
  56. })));