We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 79c8061 commit 2c778d2Copy full SHA for 2c778d2
src/panels/QuarterPanel/QuarterBody.tsx
@@ -46,11 +46,11 @@ function QuarterBody<DateType>(props: QuarterBodyProps<DateType>) {
46
colNum={QUARTER_COL_COUNT}
47
baseDate={baseQuarter}
48
getCellText={date =>
49
- generateConfig.locale.format(locale.locale, date, locale.quarterFormat || '\\QQ')
+ generateConfig.locale.format(locale.locale, date, locale.quarterFormat || '[Q]Q')
50
}
51
getCellClassName={getCellClassName}
52
getCellDate={(date, offset) => generateConfig.addMonth(date, offset * 3)}
53
- titleCell={date => generateConfig.locale.format(locale.locale, date, 'YYYY-\\QQ')}
+ titleCell={date => generateConfig.locale.format(locale.locale, date, 'YYYY-[Q]Q')}
54
/>
55
);
56
0 commit comments