Text for future Release date grammatically incorrect
Summary
When an Upcoming Release is created, the text currently says:
"released in 21 hours by <user icon>
"
Instead, it should say something like:
"will be released in 21 hours by <user icon>
"
Steps to reproduce
Create a future release via API call, eg:
curl --header 'Content-Type: application/json' --header "PRIVATE-TOKEN: <REDACTED>" \
--data '{ "tag_name": "v7.1.0", "description": "**Release 456** Super nice release", "ref": "e1c4afe46ab838e22236a3f475d1090c07f4de56", "released_at": "2020-01-27T12:11:00Z" }' \
--request POST http://localhost:3000/api/v4/projects/8/releases
Example Project
Use the HTML5Boilerplate example Project in GDK with the above curl
.
What is the current bug behavior?
"released in 21 hours by "
What is the expected correct behavior?
"will be released in 21 hours by "
Relevant logs and/or screenshots
Output of checks
(If you are reporting a bug on GitLab.com, write: This bug happens on GitLab.com)
Results of GitLab environment info
Expand for output related to GitLab environment info
(For installations with omnibus-gitlab package run and paste the output of:
sudo gitlab-rake gitlab:env:info
)(For installations from source run and paste the output of:
sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production
)
Results of GitLab application Check
Expand for output related to the GitLab application check
(For installations with omnibus-gitlab package run and paste the output of:
sudo gitlab-rake gitlab:check SANITIZE=true
)(For installations from source run and paste the output of:
sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production SANITIZE=true
)(we will only investigate if the tests are passing)
Possible fixes
(If you can, link to the line of code that might be responsible for the problem)