Commit 84c5f4e0 authored by Filipa Lacerda's avatar Filipa Lacerda

Fix conflict for app/assets/javascripts/lib/utils/datetime_utility.js

parent f019a07d
......@@ -67,16 +67,6 @@ export function getTimeago() {
][index];
};
<<<<<<< HEAD
w.gl.utils.localTimeAgo = function($timeagoEls, setTimeago = true) {
$timeagoEls.each((i, el) => {
if (setTimeago) {
// Recreate with custom template
$(el).tooltip({
template: '<div class="tooltip local-timeago" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>'
});
}
=======
timeago.register(lang, locale);
timeago.register(`${lang}-remaining`, localeRemaining);
timeagoInstance = timeago();
......@@ -84,7 +74,6 @@ export function getTimeago() {
return timeagoInstance;
}
>>>>>>> 38b066905132eff84ec50caa8b785d3118b462c2
/**
* For the given element, renders a timeago instance.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment