Skip to content

Format dates before creating timestamps

Sean Arnold requested to merge sarnold-format-timestamps-locally into master

What does this MR do?

For the tooltips that are not yet rendered with time_ago_tooltip.vue, format the date before creating the tooltip so that we show localdates in the tooltip.

Screenshots

Before After
Screen_Shot_2020-02-12_at_6.28.50_PM Screen_Shot_2020-02-12_at_6.29.59_PM

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team

Related to: #23709 (closed)

Edited by Yorick Peterse

Merge request reports