Skip to content

Commit cb1f851

Browse files
authored
fix(ui): [date-ranger] fix last week range label (#1198)
1 parent afd396f commit cb1f851

File tree

1 file changed

+1
-1
lines changed
  • packages/ui/src/DateRanger/constant

1 file changed

+1
-1
lines changed

packages/ui/src/DateRanger/constant/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ export const THIS_WEEK: RangeOption = {
218218
export const LAST_WEEK: RangeOption = {
219219
label: '上周',
220220
enLabel: 'Last week',
221-
rangeLabel: 'last week',
221+
rangeLabel: '1w',
222222
name: 'LAST_WEEK',
223223
range: (current: Moment | Dayjs = moment()) => [
224224
current.clone().startOf(WEEK_UNIT).add(-1, WEEK_UNIT),

0 commit comments

Comments
 (0)