aboutsummaryrefslogtreecommitdiff
path: root/src/components/common/TaggDatePicker.tsx
diff options
context:
space:
mode:
authorTanmay Bhatia <tanmay@thetaggid.com>2021-01-22 16:47:23 -0800
committerTanmay Bhatia <tanmay@thetaggid.com>2021-01-22 16:47:23 -0800
commit3a68870bb64f49041e8412bd2b27ba52d58775d5 (patch)
treeebb5d5104bbf0c16fdf2901aa9546edbaca5fc72 /src/components/common/TaggDatePicker.tsx
parent30a7a34f8c5eb379de4e5ebe38cfeeb259f3f1e3 (diff)
Changed date order during onboarding
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 (