Skip to content

Add UTC setting for the date time picker

Miguel Rincon requested to merge 214370-utc-support-date-time-picker into master

What does this MR do?

Implementation of date picker of #214370 (closed)

Adds a utc mode to the date time picker. When enabled, interprets and emits dates without considering the local timezone of the client.

  • UTC mode is indicated by adding a UTC label.
  • Includes a few refactors in the time picker mini library
  • Adds a lot of tests!

No changelog is included because this property is not yet used.

Screenshots

closed relative ranges fixed ranges
image image image

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
Edited by 🤖 GitLab Bot 🤖

Merge request reports

Loading