//= require timeago
(function() {
  window.App.onPageLoad(function() {
    if (!window.App.isAppPage()) {
      return;
    }
    var COMPONENT_SELECTOR = '[data-time-ago]';
    window.timeago().render(
        document.querySelectorAll(COMPONENT_SELECTOR),
        document.querySelector('#app-page-container')
            .getAttribute('data-locale'));
  });
  document.addEventListener('turbolinks:before-cache', function() {
    timeago.cancel();
  });
})();

@@ -345,16 +345,34 @@
 locale')
+.replace('-', '_')
 );%0A  %7D);

Fix for locales with hyphens