hugoWebsite/node_modules/date-fns/esm/locale/es/index.js

33 lines
1.0 KiB
JavaScript
Raw Normal View History

2022-10-29 00:20:35 +02:00
import formatDistance from "./_lib/formatDistance/index.js";
import formatLong from "./_lib/formatLong/index.js";
import formatRelative from "./_lib/formatRelative/index.js";
import localize from "./_lib/localize/index.js";
import match from "./_lib/match/index.js";
/**
* @type {Locale}
* @category Locales
* @summary Spanish locale.
* @language Spanish
* @iso-639-2 spa
* @author Juan Angosto [@juanangosto]{@link https://github.com/juanangosto}
* @author Guillermo Grau [@guigrpa]{@link https://github.com/guigrpa}
* @author Fernando Agüero [@fjaguero]{@link https://github.com/fjaguero}
* @author Gastón Haro [@harogaston]{@link https://github.com/harogaston}
* @author Yago Carballo [@YagoCarballo]{@link https://github.com/YagoCarballo}
*/
var locale = {
code: 'es',
formatDistance: formatDistance,
formatLong: formatLong,
formatRelative: formatRelative,
localize: localize,
match: match,
options: {
weekStartsOn: 1
/* Monday */
,
firstWeekContainsDate: 1
}
};
export default locale;