We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 05e7473 commit 0ca7d75Copy full SHA for 0ca7d75
1 file changed
src/frontend/src/utils/design-review.utils.ts
@@ -84,7 +84,9 @@ export const getDateRange = (selectedDate: Date) => {
84
const startDate = getStartOfWeek(selectedDate);
85
const endDate = new Date(startDate);
86
endDate.setDate(startDate.getDate() + 6);
87
- return `${startDate.toLocaleDateString()} - ${endDate.toLocaleDateString()}`;
+ return `${(startDate.getMonth() + 1).toString()}/${startDate.getDate().toString()} - ${(
88
+ endDate.getMonth() + 1
89
+ ).toString()}/${endDate.getDate().toString()}`;
90
};
91
92
export const getHourFromDate = (currentDate: Date) => {
0 commit comments