index.js 1.0 KB

123456789101112131415161718192021222324252627282930313233
  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 Spanish locale.
  10. * @language Spanish
  11. * @iso-639-2 spa
  12. * @author Juan Angosto [@juanangosto]{@link https://github.com/juanangosto}
  13. * @author Guillermo Grau [@guigrpa]{@link https://github.com/guigrpa}
  14. * @author Fernando Agüero [@fjaguero]{@link https://github.com/fjaguero}
  15. * @author Gastón Haro [@harogaston]{@link https://github.com/harogaston}
  16. * @author Yago Carballo [@YagoCarballo]{@link https://github.com/YagoCarballo}
  17. */
  18. var locale = {
  19. code: 'es',
  20. formatDistance: formatDistance,
  21. formatLong: formatLong,
  22. formatRelative: formatRelative,
  23. localize: localize,
  24. match: match,
  25. options: {
  26. weekStartsOn: 1
  27. /* Monday */
  28. ,
  29. firstWeekContainsDate: 1
  30. }
  31. };
  32. export default locale;