Merge pull request 'chore: update date ranges' (#5) from dev into main
continuous-integration/drone/push Build is passing Details

Reviewed-on: #5
feat/schema
Francesco Minnocci 1 year ago
commit 04b6d5640d

@ -16,28 +16,28 @@ window._ = _
window.dataBuffer = {} window.dataBuffer = {}
const CALENDAR_IDS = { const CALENDAR_IDS = {
'anno-1': ['6308cfcb1df5cb026699ce32'], 'anno-1': ['64a7c1c651f079001d52e9c8'],
'anno-2': ['63ce711cc3940409488f274e'], 'anno-2': ['6308e2dc09352a0208fefdd9'],
'anno-3': ['63ce736abfadbe06acc8338d'], 'anno-3': ['6308e42a1df5cb026699ced4'],
'magistrale': ['63ce74397a9aee064ee01ad7'], 'magistrale': ['64a7c7091ab813002c5d9ede'],
'tutti': [ 'tutti': [
'6308cfcb1df5cb026699ce32', '64a7c1c651f079001d52e9c8',
'63ce711cc3940409488f274e', '6308e2dc09352a0208fefdd9',
'63ce736abfadbe06acc8338d', '6308e42a1df5cb026699ced4',
'63ce74397a9aee064ee01ad7', '64a7c7091ab813002c5d9ede',
], ],
} }
const DEFAULT_DATE_RANGE = { const DEFAULT_DATE_RANGE = {
from: '2023-03-06T00:00:00.000Z', from: '2023-10-02T00:00:00.000Z',
to: '2023-03-12T00:00:00.000Z', to: '2023-10-07T00:00:00.000Z',
} }
const DATE_RANGES = { const DATE_RANGES = {
'6308cfcb1df5cb026699ce32': DEFAULT_DATE_RANGE, '64a7c1c651f079001d52e9c8': DEFAULT_DATE_RANGE,
'63ce711cc3940409488f274e': DEFAULT_DATE_RANGE, '6308e2dc09352a0208fefdd9': DEFAULT_DATE_RANGE,
'63ce736abfadbe06acc8338d': DEFAULT_DATE_RANGE, '6308e42a1df5cb026699ced4': DEFAULT_DATE_RANGE,
'63ce74397a9aee064ee01ad7': DEFAULT_DATE_RANGE, '64a7c7091ab813002c5d9ede': DEFAULT_DATE_RANGE,
} }
function specialEventPatches(eventi) { function specialEventPatches(eventi) {

Loading…
Cancel
Save