nb.js 899 B

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