index.js 858 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 Thai locale.
  10. * @language Thai
  11. * @iso-639-2 tha
  12. * @author Athiwat Hirunworawongkun [@athivvat]{@link https://github.com/athivvat}
  13. * @author [@hawkup]{@link https://github.com/hawkup}
  14. * @author Jirawat I. [@nodtem66]{@link https://github.com/nodtem66}
  15. */
  16. var locale = {
  17. code: 'th',
  18. formatDistance: formatDistance,
  19. formatLong: formatLong,
  20. formatRelative: formatRelative,
  21. localize: localize,
  22. match: match,
  23. options: {
  24. weekStartsOn: 0
  25. /* Sunday */
  26. ,
  27. firstWeekContainsDate: 1
  28. }
  29. };
  30. export default locale;