fa-IR.js 778 B

12345678910111213141516171819202122232425262728
  1. import { formatDistance } from "./fa-IR/_lib/formatDistance.js";
  2. import { formatLong } from "./fa-IR/_lib/formatLong.js";
  3. import { formatRelative } from "./fa-IR/_lib/formatRelative.js";
  4. import { localize } from "./fa-IR/_lib/localize.js";
  5. import { match } from "./fa-IR/_lib/match.js";
  6. /**
  7. * @category Locales
  8. * @summary Persian/Farsi locale (Iran).
  9. * @language Persian
  10. * @iso-639-2 ira
  11. * @author Morteza Ziyae [@mort3za](https://github.com/mort3za)
  12. */
  13. export const faIR = {
  14. code: "fa-IR",
  15. formatDistance: formatDistance,
  16. formatLong: formatLong,
  17. formatRelative: formatRelative,
  18. localize: localize,
  19. match: match,
  20. options: {
  21. weekStartsOn: 6 /* Saturday */,
  22. firstWeekContainsDate: 1,
  23. },
  24. };
  25. // Fallback for modularized imports:
  26. export default faIR;