index.js 980 B

12345678910111213141516171819202122232425262728293031
  1. // Same as fr
  2. import formatDistance from "../fr/_lib/formatDistance/index.js";
  3. import localize from "../fr/_lib/localize/index.js";
  4. import match from "../fr/_lib/match/index.js";
  5. // Unique for fr-CH
  6. import formatLong from "./_lib/formatLong/index.js";
  7. import formatRelative from "./_lib/formatRelative/index.js";
  8. /**
  9. * @type {Locale}
  10. * @category Locales
  11. * @summary French locale (Switzerland).
  12. * @language French
  13. * @iso-639-2 fra
  14. * @author Jean Dupouy [@izeau]{@link https://github.com/izeau}
  15. * @author François B [@fbonzon]{@link https://github.com/fbonzon}
  16. * @author Van Vuong Ngo [@vanvuongngo]{@link https://github.com/vanvuongngo}
  17. * @author Alex Hoeing [@dcbn]{@link https://github.com/dcbn}
  18. */
  19. var locale = {
  20. code: 'fr-CH',
  21. formatDistance: formatDistance,
  22. formatLong: formatLong,
  23. formatRelative: formatRelative,
  24. localize: localize,
  25. match: match,
  26. options: {
  27. weekStartsOn: 1 /* Monday */,
  28. firstWeekContainsDate: 4
  29. }
  30. };
  31. export default locale;