Skip to content

Replace use of formatDate with localDateFormat

What does this MR do and why?

Replaces use of formatDate with localDateFormat so that data is shown as per user preference

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After
messages_table.vue Screenshot 2024-07-02 at 13.33.52.png Screenshot 2024-07-02 at 13.36.59.png
deploy_freeze_alert.vue Screenshot 2024-07-03 at 06.27.19.png Screenshot 2024-07-03 at 06.27.06.png

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

messages_table.vue

  1. Go to Admin > Messages (http://127.0.0.1:3000/admin/broadcast_messages)
  2. Add new message is there are none displayed

deploy_freeze_alert.vue

  1. In a project's CI/CD settings (Settings > CI/CD) create a deploy freeze (https://docs.gitlab.com/ee/user/project/releases/index.html#prevent-unintentional-releases-by-setting-a-deploy-freeze)
    1. Can set both start and end as "* * * * *"
  2. Create an environment in that project (Operate > Environments)
  3. See the alert

timeline_chart.vue

Related to #463487

Edited by James Rushford

Merge request reports