From 3a68870bb64f49041e8412bd2b27ba52d58775d5 Mon Sep 17 00:00:00 2001
From: Tanmay Bhatia <tanmay@thetaggid.com>
Date: Fri, 22 Jan 2021 16:47:23 -0800
Subject: Changed date order during onboarding

---
 src/components/common/TaggDatePicker.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/components/common/TaggDatePicker.tsx')

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 (
-- 
cgit v1.2.3-70-g09d2

