Skip to content

Commit

Permalink
Fix week granularity label
Browse files Browse the repository at this point in the history
Previously it showed 'Year 5 - 2014, Q1 Jan' instead of 'Week 5 - 2014, Q1 Jan'
  • Loading branch information
adiletelf committed Jul 23, 2024
1 parent 54498e2 commit 208a238
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
## 2.5.6
* Fix ignoring filters when "Force selection" is enabled. "Force selection" will automatically disable if filters select another period
* Add labels toggle switches to allow users to customize which labels to show
* Fix week granularity label. Previously it showed 'Year 5 - 2014, Q1 Jan' instead of 'Week 5 - 2014, Q1 Jan'

## 2.5.5
* Add toggle 'Treat as end of fiscal year'
Expand Down
2 changes: 1 addition & 1 deletion src/granularity/weekGranularity.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ import { IGranularityRenderProps } from "./granularityRenderProps";
import { GranularityType } from "./granularityType";

export class WeekGranularity extends GranularityBase {
private localizationKey: string = "Visual_Granularity_Year";
private localizationKey: string = "Visual_Granularity_Week";

constructor(
calendar: Calendar,
Expand Down

0 comments on commit 208a238

Please sign in to comment.