add attributes to dialog
[arvados-workbench2.git] / src / common / formatters.ts
index 737ca96f0b54a492ad50823c3d50c5ed6f18b861..e2097878a9f98276ffe1d78cf49ac6ca4468d894 100644 (file)
@@ -2,7 +2,7 @@
 //
 // SPDX-License-Identifier: AGPL-3.0
 
-export const formatDate = (isoDate?: string | null) => {
+export const formatDate = (isoDate?: string) => {
     if (isoDate) {
         const date = new Date(isoDate);
         const text = date.toLocaleString();