Issue opened "años" ago instead "horas".(Spanish issue only)

Summary

When a issue has been opened least than a day it shows "opened X años ago" instead the word "horas" ago.

Steps to reproduce

  1. Open a issue in any proyect, even in the gitlab EE issue page.
  2. Look at the message when was opened.

Example Project

It happens in all projects even in GitLab EE https://gitlab.com/gitlab-org/gitlab-ee/issues

What is the current bug behavior?

Shows años as count time.

What is the expected correct behavior?

Show horas.

Relevant logs and/or screenshots

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

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)

Edited Jun 15, 2018 by Alexis
Assignee Loading
Time tracking Loading