Skip to content

Member expiration time incorrect calculation

Summary

The expiration time calculation is incorrect in the members page

Steps to reproduce

  • Integrate the LDAP
  • Add some one to the group without the expiration time.
  • Now change the expiration time to next day
  • Also Change it to the current day.

What is the current bug behavior?

I can give the screen shot of it. The one below is taken on August 13, 2019 at 1:04PM PST by choosing the same dat as date of expiration, GitLab runs in UTC

image

this is by having next day as expiration date.

image

What is the expected correct behavior?

The expiration time should be calculated correctly.

Relevant logs and/or screenshots

image

image

Output of checks

(If you are reporting a bug on GitLab.com, write: This bug happens on GitLab.com)

Results of GitLab environment info

I don't have access for that. But this is version

GitLab Enterprise Edition 11.11.7-ee

Possible fixes

(If you can, link to the line of code that might be responsible for the problem)