# Incorrect time delta on post (Ru interface only)

**URL:** <https://meta.discourse.org/t/incorrect-time-delta-on-post-ru-interface-only/83390>\
**Category:** Translations\
**Created:** [20.Март.2018 11:49:26 UTC](https://meta.discourse.org/t/incorrect-time-delta-on-post-ru-interface-only/83390 "2018-03-20T11:49:26Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![neil](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/neil/32/102150_2.png) [@neil](https://meta.discourse.org/u/neil)\
**Post date:** [21.Март.2018 18:55:24 UTC](https://meta.discourse.org/t/incorrect-time-delta-on-post-ru-interface-only/83390/4 "2018-03-21T18:55:24Z")

</div>

We’ve had problems like this [reported over the years](https://meta.discourse.org/t/error-while-pulling-translations-from-transifex/16575/13). I suspect it’s something wrong with [this pluralization logic](https://github.com/discourse/discourse/blob/master/lib/javascripts/locale/ru.js), but I would expect it to have been reported by now:

```plaintext
MessageFormat.locale.ru = function (n) {
  var r10 = n % 10, r100 = n % 100;

  if (r10 == 1 && r100 != 11)
    return 'one';

  if (r10 >= 2 && r10 <= 4 && (r100 < 12 || r100 > 14) && n == Math.floor(n))
    return 'few';

  return 'other';
};

```

That logic is very strange to us English-speakers… 😉

---

_[View the full topic](https://meta.discourse.org/t/incorrect-time-delta-on-post-ru-interface-only/83390)._
