init
This commit is contained in:
45
node_modules/date-fns/locale/vi/_lib/formatLong.mjs
generated
vendored
Normal file
45
node_modules/date-fns/locale/vi/_lib/formatLong.mjs
generated
vendored
Normal file
@@ -0,0 +1,45 @@
|
||||
import { buildFormatLongFn } from "../../_lib/buildFormatLongFn.mjs";
|
||||
|
||||
const 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",
|
||||
};
|
||||
|
||||
const timeFormats = {
|
||||
full: "HH:mm:ss zzzz",
|
||||
long: "HH:mm:ss z",
|
||||
medium: "HH:mm:ss",
|
||||
short: "HH:mm",
|
||||
};
|
||||
|
||||
const 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}}",
|
||||
};
|
||||
|
||||
export const formatLong = {
|
||||
date: buildFormatLongFn({
|
||||
formats: dateFormats,
|
||||
defaultWidth: "full",
|
||||
}),
|
||||
|
||||
time: buildFormatLongFn({
|
||||
formats: timeFormats,
|
||||
defaultWidth: "full",
|
||||
}),
|
||||
|
||||
dateTime: buildFormatLongFn({
|
||||
formats: dateTimeFormats,
|
||||
defaultWidth: "full",
|
||||
}),
|
||||
};
|
||||
Reference in New Issue
Block a user