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.
40 lines
1.1 KiB
JavaScript
40 lines
1.1 KiB
JavaScript
// Danish [da]
|
|
import dayjs from '../index';
|
|
var locale = {
|
|
name: 'da',
|
|
weekdays: 'søndag_mandag_tirsdag_onsdag_torsdag_fredag_lørdag'.split('_'),
|
|
weekdaysShort: 'søn._man._tirs._ons._tors._fre._lør.'.split('_'),
|
|
weekdaysMin: 'sø._ma._ti._on._to._fr._lø.'.split('_'),
|
|
months: 'januar_februar_marts_april_maj_juni_juli_august_september_oktober_november_december'.split('_'),
|
|
monthsShort: 'jan._feb._mar._apr._maj_juni_juli_aug._sept._okt._nov._dec.'.split('_'),
|
|
weekStart: 1,
|
|
yearStart: 4,
|
|
ordinal: function ordinal(n) {
|
|
return n + ".";
|
|
},
|
|
formats: {
|
|
LT: 'HH:mm',
|
|
LTS: 'HH:mm:ss',
|
|
L: 'DD.MM.YYYY',
|
|
LL: 'D. MMMM YYYY',
|
|
LLL: 'D. MMMM YYYY HH:mm',
|
|
LLLL: 'dddd [d.] D. MMMM YYYY [kl.] HH:mm'
|
|
},
|
|
relativeTime: {
|
|
future: 'om %s',
|
|
past: '%s siden',
|
|
s: 'få sekunder',
|
|
m: 'et minut',
|
|
mm: '%d minutter',
|
|
h: 'en time',
|
|
hh: '%d timer',
|
|
d: 'en dag',
|
|
dd: '%d dage',
|
|
M: 'en måned',
|
|
MM: '%d måneder',
|
|
y: 'et år',
|
|
yy: '%d år'
|
|
}
|
|
};
|
|
dayjs.locale(locale, null, true);
|
|
export default locale; |