Skip to content

Add getDateInFuture util method

Brandon Labuschagne requested to merge add-get-date-in-future-util into master

What does this MR do?

This MR adds a method to the datetime_utils. The method is used for determining a date in the future, based off of an existing date and a number of days.

Needed to add this for #36675 (closed)

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 Brandon Labuschagne

Merge request reports