文件操作 - th.js
返回文件管理
返回主菜单
删除本文件
文件: /var/www/OLD/node_modules/date-fns/locale/th.js
编辑文件内容
import { formatDistance } from "./th/_lib/formatDistance.js"; import { formatLong } from "./th/_lib/formatLong.js"; import { formatRelative } from "./th/_lib/formatRelative.js"; import { localize } from "./th/_lib/localize.js"; import { match } from "./th/_lib/match.js"; /** * @category Locales * @summary Thai locale. * @language Thai * @iso-639-2 tha * @author Athiwat Hirunworawongkun [@athivvat](https://github.com/athivvat) * @author [@hawkup](https://github.com/hawkup) * @author Jirawat I. [@nodtem66](https://github.com/nodtem66) */ export const th = { code: "th", formatDistance: formatDistance, formatLong: formatLong, formatRelative: formatRelative, localize: localize, match: match, options: { weekStartsOn: 0 /* Sunday */, firstWeekContainsDate: 1, }, }; // Fallback for modularized imports: export default th;
修改文件时间
将文件时间修改为当前时间的前一年
删除文件