db-vendo-client/p/dbnav/index.js
dabund24 25cbb288ca
Fix dbnav time zone bug (#25)
* fix dbnav time zone bug

* test fix of dbnav time zone bug

* exclude `test/parse/dbnav-journey.js` from spell check
2025-03-06 21:13:08 +01:00

34 lines
906 B
JavaScript

import baseProfile from './base.json' with { type: 'json' };
import {products} from '../../lib/products.js';
import {formatJourneysReq, formatRefreshJourneyReq} from './journeys-req.js';
import {formatTripReq} from './trip-req.js';
import {formatLocationFilter} from './location-filter.js';
import {formatLocationsReq} from './locations-req.js';
import {formatStopReq} from './stop-req.js';
import {formatNearbyReq} from './nearby-req.js';
import {formatStationBoardReq} from './station-board-req.js';
import {parseStop} from './parse-stop.js';
import {parseJourney} from './parse-journey.js';
const profile = {
...baseProfile,
locale: 'de-DE',
timezone: 'Europe/Berlin',
products,
formatJourneysReq,
formatRefreshJourneyReq,
formatTripReq,
formatNearbyReq,
formatLocationsReq,
formatStopReq,
formatStationBoardReq,
formatLocationFilter,
parseJourney,
parseStop,
};
export {
profile,
};