index.js 863 B

1234567891011121314151617181920212223242526272829303132
  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 Vietnamese locale (Vietnam).
  10. * @language Vietnamese
  11. * @iso-639-2 vie
  12. * @author Thanh Tran [@trongthanh]{@link https://github.com/trongthanh}
  13. * @author Leroy Hopson [@lihop]{@link https://github.com/lihop}
  14. */
  15. var locale = {
  16. code: 'vi',
  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: 1
  27. /* First week of new year contains Jan 1st */
  28. }
  29. };
  30. export default locale;