es.js 1.0 KB

1234567891011121314151617181920212223242526272829303132
  1. import { formatDistance } from "./es/_lib/formatDistance.js";
  2. import { formatLong } from "./es/_lib/formatLong.js";
  3. import { formatRelative } from "./es/_lib/formatRelative.js";
  4. import { localize } from "./es/_lib/localize.js";
  5. import { match } from "./es/_lib/match.js";
  6. /**
  7. * @category Locales
  8. * @summary Spanish locale.
  9. * @language Spanish
  10. * @iso-639-2 spa
  11. * @author Juan Angosto [@juanangosto](https://github.com/juanangosto)
  12. * @author Guillermo Grau [@guigrpa](https://github.com/guigrpa)
  13. * @author Fernando Agüero [@fjaguero](https://github.com/fjaguero)
  14. * @author Gastón Haro [@harogaston](https://github.com/harogaston)
  15. * @author Yago Carballo [@YagoCarballo](https://github.com/YagoCarballo)
  16. */
  17. export const es = {
  18. code: "es",
  19. formatDistance: formatDistance,
  20. formatLong: formatLong,
  21. formatRelative: formatRelative,
  22. localize: localize,
  23. match: match,
  24. options: {
  25. weekStartsOn: 1 /* Monday */,
  26. firstWeekContainsDate: 1,
  27. },
  28. };
  29. // Fallback for modularized imports:
  30. export default es;