vi.js 866 B

1234567891011121314151617181920212223242526272829
  1. import { formatDistance } from "./vi/_lib/formatDistance.js";
  2. import { formatLong } from "./vi/_lib/formatLong.js";
  3. import { formatRelative } from "./vi/_lib/formatRelative.js";
  4. import { localize } from "./vi/_lib/localize.js";
  5. import { match } from "./vi/_lib/match.js";
  6. /**
  7. * @category Locales
  8. * @summary Vietnamese locale (Vietnam).
  9. * @language Vietnamese
  10. * @iso-639-2 vie
  11. * @author Thanh Tran [@trongthanh](https://github.com/trongthanh)
  12. * @author Leroy Hopson [@lihop](https://github.com/lihop)
  13. */
  14. export const vi = {
  15. code: "vi",
  16. formatDistance: formatDistance,
  17. formatLong: formatLong,
  18. formatRelative: formatRelative,
  19. localize: localize,
  20. match: match,
  21. options: {
  22. weekStartsOn: 1 /* Monday */,
  23. firstWeekContainsDate: 1 /* First week of new year contains Jan 1st */,
  24. },
  25. };
  26. // Fallback for modularized imports:
  27. export default vi;