Skip to content

Commit

Permalink
Merge pull request #685 from podkrepi-bg/date-format
Browse files Browse the repository at this point in the history
Change date format from MM/dd/yyyy to dd/MM/yyyy in user profile
  • Loading branch information
kachar authored Apr 9, 2022
2 parents 1358442 + 0f5e97e commit ab556f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/auth/profile/DonationTab.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -146,15 +146,15 @@ function DonationTab(props: { value: number; index: number }) {
<span className={classes.smallText}>от дата</span>
<DesktopDatePicker
label="от дата"
inputFormat="MM/dd/yyyy"
inputFormat="dd/MM/yyyy"
value={fromDate}
onChange={(date) => setFromDate(date as Date)}
renderInput={(params) => <TextField {...params} />}
/>
<span className={classes.smallText}>до дата</span>
<DesktopDatePicker
label="до дата"
inputFormat="MM/dd/yyyy"
inputFormat="dd/MM/yyyy"
value={toDate}
onChange={(date) => setToDate(date as Date)}
renderInput={(params) => <TextField {...params} />}
Expand Down

0 comments on commit ab556f3

Please sign in to comment.