60e2149072
Tasks 16-20: Online Board Tests (Search/Filter, Tabs, Flight List, Details Modal, Time/Date) - Task 16: Search & Filter tests (37 tests) - departure/arrival cities, passenger count, cabin class - Task 17: Arrival/Departure Tabs tests (45 tests) - tab switching, flight display, sorting - Task 18: Flight List View tests (50 tests) - display, sorting, filtering, pagination, loading states - Task 19: Flight Details Modal tests (40 tests) - opening/closing, content display, actions - Task 20: Time & Date Filter tests (43 tests) - date selection, time ranges, calendar navigation Tasks 21-25: Flight Details Tests (Flight Info, Passengers, Seats, Services, Fares) - Task 21: Flight Info Display tests (40 tests) - basic info, airports, route visualization, timeline - Task 22: Passenger Info tests (50 tests) - passenger list, details, services, special requirements - Task 23: Seat Selection tests (50 tests) - seat map, selection, categories, recommendations - Task 24: Service Selection tests (25 tests) - baggage, meals, seats, summary - Task 25: Fare Display tests (55 tests) - fare breakdown, comparisons, discounts, refunds All tests follow AAA pattern and use data-testid selectors matching Angular version. Total: 245 tests across 10 feature suites.
43 lines
1.2 KiB
JavaScript
43 lines
1.2 KiB
JavaScript
// Vietnamese [vi]
|
|
import dayjs from '../index';
|
|
var locale = {
|
|
name: 'vi',
|
|
weekdays: 'chủ nhật_thứ hai_thứ ba_thứ tư_thứ năm_thứ sáu_thứ bảy'.split('_'),
|
|
months: 'tháng 1_tháng 2_tháng 3_tháng 4_tháng 5_tháng 6_tháng 7_tháng 8_tháng 9_tháng 10_tháng 11_tháng 12'.split('_'),
|
|
weekStart: 1,
|
|
weekdaysShort: 'CN_T2_T3_T4_T5_T6_T7'.split('_'),
|
|
monthsShort: 'Th01_Th02_Th03_Th04_Th05_Th06_Th07_Th08_Th09_Th10_Th11_Th12'.split('_'),
|
|
weekdaysMin: 'CN_T2_T3_T4_T5_T6_T7'.split('_'),
|
|
ordinal: function ordinal(n) {
|
|
return n;
|
|
},
|
|
formats: {
|
|
LT: 'HH:mm',
|
|
LTS: 'HH:mm:ss',
|
|
L: 'DD/MM/YYYY',
|
|
LL: 'D MMMM [năm] YYYY',
|
|
LLL: 'D MMMM [năm] YYYY HH:mm',
|
|
LLLL: 'dddd, D MMMM [năm] YYYY HH:mm',
|
|
l: 'DD/M/YYYY',
|
|
ll: 'D MMM YYYY',
|
|
lll: 'D MMM YYYY HH:mm',
|
|
llll: 'ddd, D MMM YYYY HH:mm'
|
|
},
|
|
relativeTime: {
|
|
future: '%s tới',
|
|
past: '%s trước',
|
|
s: 'vài giây',
|
|
m: 'một phút',
|
|
mm: '%d phút',
|
|
h: 'một giờ',
|
|
hh: '%d giờ',
|
|
d: 'một ngày',
|
|
dd: '%d ngày',
|
|
M: 'một tháng',
|
|
MM: '%d tháng',
|
|
y: 'một năm',
|
|
yy: '%d năm'
|
|
}
|
|
};
|
|
dayjs.locale(locale, null, true);
|
|
export default locale; |