diff --git a/src/config/product.openshiftContainer.js b/src/config/product.openshiftContainer.js index f329b5dd1..b0f9e195a 100644 --- a/src/config/product.openshiftContainer.js +++ b/src/config/product.openshiftContainer.js @@ -201,7 +201,7 @@ const config = { }, { id: 'nextEventDate', - cell: data => (data?.nextEventDate?.value && moment.utc(data?.nextEventDate?.value).format('YYYY-DD-MM')) || '', + cell: data => (data?.nextEventDate?.value && moment.utc(data?.nextEventDate?.value).format('YYYY-MM-DD')) || '', isSortable: true, isWrappable: true, cellWidth: 15 diff --git a/src/config/product.rhel.js b/src/config/product.rhel.js index 606edc5b0..ad2730454 100644 --- a/src/config/product.rhel.js +++ b/src/config/product.rhel.js @@ -217,7 +217,7 @@ const config = { }, { id: 'nextEventDate', - cell: data => (data?.nextEventDate?.value && moment.utc(data?.nextEventDate?.value).format('YYYY-DD-MM')) || '', + cell: data => (data?.nextEventDate?.value && moment.utc(data?.nextEventDate?.value).format('YYYY-MM-DD')) || '', isSortable: true, isWrappable: true, cellWidth: 15 diff --git a/src/config/product.rhosak.js b/src/config/product.rhosak.js index 8668d0108..c617f5a0f 100644 --- a/src/config/product.rhosak.js +++ b/src/config/product.rhosak.js @@ -210,7 +210,7 @@ const config = { cell: data => (data?.nextEventDate?.value && helpers.isDate(data?.nextEventDate?.value) && - moment.utc(data?.nextEventDate?.value).format('YYYY-DD-MM')) || + moment.utc(data?.nextEventDate?.value).format('YYYY-MM-DD')) || '', isSortable: true, isWrappable: true,