31 lines
897 B
JavaScript
31 lines
897 B
JavaScript
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 Swedish locale.
|
|
* @language Swedish
|
|
* @iso-639-2 swe
|
|
* @author Johannes Ulén [@ejulen]{@link https://github.com/ejulen}
|
|
* @author Alexander Nanberg [@alexandernanberg]{@link https://github.com/alexandernanberg}
|
|
* @author Henrik Andersson [@limelights]{@link https://github.com/limelights}
|
|
*/
|
|
|
|
var locale = {
|
|
code: 'sv',
|
|
formatDistance: formatDistance,
|
|
formatLong: formatLong,
|
|
formatRelative: formatRelative,
|
|
localize: localize,
|
|
match: match,
|
|
options: {
|
|
weekStartsOn: 1
|
|
/* Monday */
|
|
,
|
|
firstWeekContainsDate: 4
|
|
}
|
|
};
|
|
export default locale; |