Skip to content

Commit

Permalink
Fix selecting current period
Browse files Browse the repository at this point in the history
  • Loading branch information
adiletelf committed Jul 22, 2024
1 parent 112b12c commit d0e543b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/timeLine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -106,8 +106,7 @@ export class Timeline implements powerbiVisualsApi.extensibility.visual.IVisual
granularity: GranularityType,
calendar: Calendar,
) {
const currentDate: Date = new Date(2024, 1, 14);
// const currentDate: Date = Utils.RESET_TIME(new Date());
const currentDate: Date = Utils.RESET_TIME(new Date());
return this.SELECT_PERIOD(datePeriod, granularity, calendar, currentDate);
}

Expand Down

0 comments on commit d0e543b

Please sign in to comment.