th.js 860 B

123456789101112131415161718192021222324252627282930
  1. import { formatDistance } from "./th/_lib/formatDistance.js";
  2. import { formatLong } from "./th/_lib/formatLong.js";
  3. import { formatRelative } from "./th/_lib/formatRelative.js";
  4. import { localize } from "./th/_lib/localize.js";
  5. import { match } from "./th/_lib/match.js";
  6. /**
  7. * @category Locales
  8. * @summary Thai locale.
  9. * @language Thai
  10. * @iso-639-2 tha
  11. * @author Athiwat Hirunworawongkun [@athivvat](https://github.com/athivvat)
  12. * @author [@hawkup](https://github.com/hawkup)
  13. * @author Jirawat I. [@nodtem66](https://github.com/nodtem66)
  14. */
  15. export const th = {
  16. code: "th",
  17. formatDistance: formatDistance,
  18. formatLong: formatLong,
  19. formatRelative: formatRelative,
  20. localize: localize,
  21. match: match,
  22. options: {
  23. weekStartsOn: 0 /* Sunday */,
  24. firstWeekContainsDate: 1,
  25. },
  26. };
  27. // Fallback for modularized imports:
  28. export default th;