index.js 802 B

123456789101112131415161718192021222324252627282930
  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 Portuguese locale.
  10. * @language Portuguese
  11. * @iso-639-2 por
  12. * @author Dário Freire [@dfreire]{@link https://github.com/dfreire}
  13. * @author Adrián de la Rosa [@adrm]{@link https://github.com/adrm}
  14. */
  15. var locale = {
  16. code: 'pt',
  17. formatDistance: formatDistance,
  18. formatLong: formatLong,
  19. formatRelative: formatRelative,
  20. localize: localize,
  21. match: match,
  22. options: {
  23. weekStartsOn: 1
  24. /* Monday */
  25. ,
  26. firstWeekContainsDate: 4
  27. }
  28. };
  29. export default locale;