gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[taler-merchant-backoffice] 05/05: do not show hours if itcannot be modi


From: gnunet
Subject: [taler-merchant-backoffice] 05/05: do not show hours if itcannot be modified
Date: Tue, 07 Dec 2021 15:58:34 +0100

This is an automated email from the git hooks/post-receive script.

sebasjm pushed a commit to branch master
in repository merchant-backoffice.

commit 9952a8293246a335e602a4574e18982f69036e84
Author: Sebastian <sebasjm@gmail.com>
AuthorDate: Mon Dec 6 11:05:57 2021 -0300

    do not show hours if itcannot be modified
---
 packages/merchant-backoffice/src/components/form/InputDate.tsx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/packages/merchant-backoffice/src/components/form/InputDate.tsx 
b/packages/merchant-backoffice/src/components/form/InputDate.tsx
index ddbe630..c4517c2 100644
--- a/packages/merchant-backoffice/src/components/form/InputDate.tsx
+++ b/packages/merchant-backoffice/src/components/form/InputDate.tsx
@@ -51,14 +51,14 @@ export function InputDate<T>({
   if (!value) {
     strValue = withTimestampSupport ? "unknown" : "";
   } else if (value instanceof Date) {
-    strValue = format(value, "yyyy/MM/dd HH:mm:ss");
+    strValue = format(value, "yyyy/MM/dd");
   } else if (value.t_ms) {
     strValue =
       value.t_ms === "never"
         ? withTimestampSupport
           ? "never"
           : ""
-        : format(new Date(value.t_ms), "yyyy/MM/dd HH:mm:ss");
+        : format(new Date(value.t_ms), "yyyy/MM/dd");
   }
 
   return (

-- 
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]