aboutsummaryrefslogtreecommitdiff
path: root/src/components/common/TaggDatePicker.tsx
diff options
context:
space:
mode:
authorIvan Chen <ivan@tagg.id>2021-01-27 17:22:18 -0500
committerIvan Chen <ivan@tagg.id>2021-01-27 17:22:18 -0500
commit821f7b6e5b22405484c3545c6f17600d1f79feaa (patch)
tree346f779dfaa8e4c4378b9d6f2dc1af4ec5aa9a54 /src/components/common/TaggDatePicker.tsx
parente897fdbbbe8442f05000645395753ff008a19bf4 (diff)
parent21a3e000443c5c4ab2ae91000108b9d3b0383964 (diff)
Merge branch 'master' into tma577-profile-slowness
# Conflicts: # src/services/index.ts
Diffstat (limited to 'src/components/common/TaggDatePicker.tsx')
-rw-r--r--src/components/common/TaggDatePicker.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/common/TaggDatePicker.tsx b/src/components/common/TaggDatePicker.tsx
index 059bf620..f929b41d 100644
--- a/src/components/common/TaggDatePicker.tsx
+++ b/src/components/common/TaggDatePicker.tsx
@@ -12,7 +12,7 @@ interface TaggDatePickerProps {
const TaggDatePicker: React.FC<TaggDatePickerProps> = (props) => {
const [date, setDate] = useState(
props.date
- ? new Date(moment(props.date).add(1, 'day').format('YYYY-MM-DD'))
+ ? new Date(moment(props.date).add(1, 'day').format('MM-DD-YYYY'))
: undefined,
);
return (