From ac600048631bf7cb1ef105fbc41488ebe217f10f Mon Sep 17 00:00:00 2001 From: Nuzhy-Deriv Date: Fri, 9 Aug 2024 15:25:49 +0800 Subject: [PATCH] fix: enddate value format --- src/javascript/app/pages/form/form-component.jsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/javascript/app/pages/form/form-component.jsx b/src/javascript/app/pages/form/form-component.jsx index 3fd5ccc5a8e..bea2ae70658 100644 --- a/src/javascript/app/pages/form/form-component.jsx +++ b/src/javascript/app/pages/form/form-component.jsx @@ -155,6 +155,8 @@ export const FormComponent = () => { { text: localize('Payout'), value: 'payout' }, ]; + const formatEndDate = (date) => moment(date).format('ddd - DD MMM, YYYY'); + return (
@@ -250,7 +252,7 @@ export const FormComponent = () => { ) : (