Skip to content

Commit

Permalink
fix(config): ent-4777 next_event_date display format (#897)
Browse files Browse the repository at this point in the history
  • Loading branch information
cdcabrera authored Feb 24, 2022
1 parent 72e958d commit 66959db
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/config/product.openshiftContainer.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/config/product.rhel.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/config/product.rhosak.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 66959db

Please sign in to comment.