Skip to content

Commit

Permalink
fix: RTL lang crashes Moderation Console (#30393)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dnouv authored Sep 27, 2023
1 parent 27c75f1 commit 699f10d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ type DateRangePickerProps = Omit<ComponentProps<typeof Box>, 'onChange'> & {
onChange(range: { start: string; end: string }): void;
};

const formatToDateInput = (date: Moment) => date.format('YYYY-MM-DD');
const formatToDateInput = (date: Moment) => date.locale('en').format('YYYY-MM-DD');

const todayDate = formatToDateInput(moment());

Expand Down

0 comments on commit 699f10d

Please sign in to comment.