Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
84c5f4e0
Commit
84c5f4e0
authored
Dec 14, 2017
by
Filipa Lacerda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix conflict for app/assets/javascripts/lib/utils/datetime_utility.js
parent
f019a07d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
11 deletions
+0
-11
app/assets/javascripts/lib/utils/datetime_utility.js
app/assets/javascripts/lib/utils/datetime_utility.js
+0
-11
No files found.
app/assets/javascripts/lib/utils/datetime_utility.js
View file @
84c5f4e0
...
...
@@ -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
;
}
>>>>>>>
38
b066905132eff84ec50caa8b785d3118b462c2
/**
* For the given element, renders a timeago instance.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment