{"action":"opened","issue":{"url":"https://api.github.com/repos/bolt/bolt/issues/4969","repository_url":"https://api.github.com/repos/bolt/bolt","labels_url":"https://api.github.com/repos/bolt/bolt/issues/4969/labels{/name}","comments_url":"https://api.github.com/repos/bolt/bolt/issues/4969/comments","events_url":"https://api.github.com/repos/bolt/bolt/issues/4969/events","html_url":"https://github.com/bolt/bolt/issues/4969","id":139067494,"number":4969,"title":"[RFC] Rename moment","user":{"login":"rarila","id":5936174,"avatar_url":"https://avatars.githubusercontent.com/u/5936174?v=3","gravatar_id":"","url":"https://api.github.com/users/rarila","html_url":"https://github.com/rarila","followers_url":"https://api.github.com/users/rarila/followers","following_url":"https://api.github.com/users/rarila/following{/other_user}","gists_url":"https://api.github.com/users/rarila/gists{/gist_id}","starred_url":"https://api.github.com/users/rarila/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rarila/subscriptions","organizations_url":"https://api.github.com/users/rarila/orgs","repos_url":"https://api.github.com/users/rarila/repos","events_url":"https://api.github.com/users/rarila/events{/privacy}","received_events_url":"https://api.github.com/users/rarila/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/bolt/bolt/labels/RFC","name":"RFC","color":"CC317C"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-03-07T19:20:00Z","updated_at":"2016-03-07T19:20:00Z","closed_at":null,"body":"At the moment (LOL) we use the [Moment.js](http://momentjs.com/) library for displaying relative times and dates (= from now) in a human readable form (eg. ``5 days ago``, ``a few seconds ago``, …). So we have several places in our code that contains that name ``moment`` (``moment()``, ``buic-moment``, ``BuicMoment``, ``moment.scss``, …).\r\n\r\nWe had something similar a while ago where we had a function called ``fancybox()`` named after the library used. Then we replaced it magnific popup and we had to deprecate a function name.\r\n\r\nTo prepare for a possible future library change and to give the whole thing a more namingful and descriptive name I suggest renaming it now.\r\n\r\n- ``RelativeTime``\r\n- ``RelTime``\r\n- ``FromNow``\r\n- …?\r\n\r\nI guess native speakers have some better ideas. Suggestions welcome!\r\n"}}