Skip to content

OBPIH-7003 Unify date format in filters and columns in CC tables#5264

Merged
awalkowiak merged 4 commits intoOBPIH-7239from
OBPIH-7300-2
May 21, 2025
Merged

OBPIH-7003 Unify date format in filters and columns in CC tables#5264
awalkowiak merged 4 commits intoOBPIH-7239from
OBPIH-7300-2

Conversation

@SebastianLib
Copy link
Collaborator

✨ Description of Change

Link to GitHub issue or Jira ticket:

Description:


📷 Screenshots & Recordings (optional)

@github-actions github-actions bot added the domain: frontend Changes or discussions relating to the frontend UI label May 21, 2025
Comment on lines 84 to 88
dateLastCount: dateWithoutTimeZone({
date: dateLastCount,
currentDateFormat: DateFormat.DD_MMM_YYYY,
outputDateFormat: DateFormat.MM_DD_YYYY,
}),
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because you are using that function with the same arguments in every place that you changed in that PR, you can create a function that already passes those arguments. I mean something like:

const formatCycleCountDate = (date) => dateWithoutTimeZone({
      date: date,
      currentDateFormat: DateFormat.DD_MMM_YYYY,
      outputDateFormat: DateFormat.MM_DD_YYYY,
    }),

I don't have better idea for the naming, so i believe that you can come up with something better

@awalkowiak awalkowiak merged commit c0b57cf into OBPIH-7239 May 21, 2025
5 of 6 checks passed
@awalkowiak awalkowiak deleted the OBPIH-7300-2 branch May 21, 2025 16:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

domain: frontend Changes or discussions relating to the frontend UI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants