From e4fa1e69e7ebfb627c7198fd1a9881e9327ec4d4 Mon Sep 17 00:00:00 2001 From: Pinapelz Date: Sat, 28 Jun 2025 17:26:46 -0700 Subject: initial commit: scaffolding --- .../esm/locale/vi/_lib/formatLong/index.js | 40 ++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 node_modules/date-fns/esm/locale/vi/_lib/formatLong/index.js (limited to 'node_modules/date-fns/esm/locale/vi/_lib/formatLong') diff --git a/node_modules/date-fns/esm/locale/vi/_lib/formatLong/index.js b/node_modules/date-fns/esm/locale/vi/_lib/formatLong/index.js new file mode 100644 index 0000000..ddb2a80 --- /dev/null +++ b/node_modules/date-fns/esm/locale/vi/_lib/formatLong/index.js @@ -0,0 +1,40 @@ +import buildFormatLongFn from "../../../_lib/buildFormatLongFn/index.js"; +var dateFormats = { + // thứ Sáu, ngày 25 tháng 08 năm 2017 + full: "EEEE, 'ngày' d MMMM 'năm' y", + // ngày 25 tháng 08 năm 2017 + long: "'ngày' d MMMM 'năm' y", + // 25 thg 08 năm 2017 + medium: "d MMM 'năm' y", + // 25/08/2017 + short: 'dd/MM/y' +}; +var timeFormats = { + full: 'HH:mm:ss zzzz', + long: 'HH:mm:ss z', + medium: 'HH:mm:ss', + short: 'HH:mm' +}; +var dateTimeFormats = { + // thứ Sáu, ngày 25 tháng 08 năm 2017 23:25:59 + full: '{{date}} {{time}}', + // ngày 25 tháng 08 năm 2017 23:25 + long: '{{date}} {{time}}', + medium: '{{date}} {{time}}', + short: '{{date}} {{time}}' +}; +var formatLong = { + date: buildFormatLongFn({ + formats: dateFormats, + defaultWidth: 'full' + }), + time: buildFormatLongFn({ + formats: timeFormats, + defaultWidth: 'full' + }), + dateTime: buildFormatLongFn({ + formats: dateTimeFormats, + defaultWidth: 'full' + }) +}; +export default formatLong; \ No newline at end of file -- cgit v1.2.3