Skip to content

Display license start date without special format

Amparo Luna requested to merge al-331188-license-start-date-format into master

What does this MR do?

This MR updates Started in the subscription details so it doesn't apply the humanReadableDate format to the date.

The humanReadableDate uses the local timezone information of the user to format the date: in the before screenshot the date received from GraphQL is 2021-05-11 and the formatted one is 10 May 2021.

Now we display both dates (the one in the subscription details card and the one in the license history) in the same consistent ISO format as we receive them from GraphQL.

Related issue

https://gitlab.com/gitlab-org/gitlab/-/issues/331188

Screenshots (strongly suggested)

Before After
BeforeUpdate AfterUpdate

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

Does this MR contain changes to processing or storing of credentials or tokens, authorization and authentication methods or other items described in the security review guidelines? If not, then delete this Security section.

  • [-] 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
Edited by Miranda Fluharty

Merge request reports