index.js 897 B

12345678910111213141516171819202122232425262728293031
  1. import formatDistance from "./_lib/formatDistance/index.js";
  2. import formatLong from "./_lib/formatLong/index.js";
  3. import formatRelative from "./_lib/formatRelative/index.js";
  4. import localize from "./_lib/localize/index.js";
  5. import match from "./_lib/match/index.js";
  6. /**
  7. * @type {Locale}
  8. * @category Locales
  9. * @summary Norwegian Bokmål locale.
  10. * @language Norwegian Bokmål
  11. * @iso-639-2 nob
  12. * @author Hans-Kristian Koren [@Hanse]{@link https://github.com/Hanse}
  13. * @author Mikolaj Grzyb [@mikolajgrzyb]{@link https://github.com/mikolajgrzyb}
  14. * @author Dag Stuan [@dagstuan]{@link https://github.com/dagstuan}
  15. */
  16. var locale = {
  17. code: 'nb',
  18. formatDistance: formatDistance,
  19. formatLong: formatLong,
  20. formatRelative: formatRelative,
  21. localize: localize,
  22. match: match,
  23. options: {
  24. weekStartsOn: 1
  25. /* Monday */
  26. ,
  27. firstWeekContainsDate: 4
  28. }
  29. };
  30. export default locale;