mirror of
https://github.com/Litlyx/litlyx
synced 2025-12-10 07:48:37 +01:00
fix dates
This commit is contained in:
@@ -79,7 +79,9 @@ export async function executeTimelineAggregation(options: TimelineAggregationOpt
|
||||
return executeAdvancedTimelineAggregation(options);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @deprecated use fillAndMergeTimelineAggregationV2
|
||||
*/
|
||||
export function fillAndMergeTimelineAggregation(timeline: { _id: string, count: number }[], slice: Slice) {
|
||||
const filledDates = DateService.fillDates(timeline.map(e => e._id), slice);
|
||||
const merged = DateService.mergeFilledDates(filledDates, timeline, '_id', slice, { count: 0 });
|
||||
|
||||
Reference in New Issue
Block a user