Skip to content

Commit 2c778d2

Browse files
committed
fix: More format fix
1 parent 79c8061 commit 2c778d2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/panels/QuarterPanel/QuarterBody.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,11 +46,11 @@ function QuarterBody<DateType>(props: QuarterBodyProps<DateType>) {
4646
colNum={QUARTER_COL_COUNT}
4747
baseDate={baseQuarter}
4848
getCellText={date =>
49-
generateConfig.locale.format(locale.locale, date, locale.quarterFormat || '\\QQ')
49+
generateConfig.locale.format(locale.locale, date, locale.quarterFormat || '[Q]Q')
5050
}
5151
getCellClassName={getCellClassName}
5252
getCellDate={(date, offset) => generateConfig.addMonth(date, offset * 3)}
53-
titleCell={date => generateConfig.locale.format(locale.locale, date, 'YYYY-\\QQ')}
53+
titleCell={date => generateConfig.locale.format(locale.locale, date, 'YYYY-[Q]Q')}
5454
/>
5555
);
5656
}

0 commit comments

Comments
 (0)