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

31 lines
858 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 Thai locale.
* @language Thai
* @iso-639-2 tha
* @author Athiwat Hirunworawongkun [@athivvat]{@link https://github.com/athivvat}
* @author [@hawkup]{@link https://github.com/hawkup}
* @author Jirawat I. [@nodtem66]{@link https://github.com/nodtem66}
*/
var locale = {
code: 'th',
formatDistance: formatDistance,
formatLong: formatLong,
formatRelative: formatRelative,
localize: localize,
match: match,
options: {
weekStartsOn: 0
/* Sunday */
,
firstWeekContainsDate: 1
}
};
export default locale;