Fix typo in Build page JavaScript (!7563)

This commit is contained in:
winniehell 2016-11-18 13:26:08 +01:00
parent 49e726ec33
commit 6c67f4abfe
2 changed files with 5 additions and 1 deletions

View file

@ -172,7 +172,7 @@
$date = $('.js-artifacts-remove');
if ($date.length) {
date = $date.text();
return $date.text(gl.utils.timefor(new Date(date.replace(/([0-9]+)-([0-9]+)-([0-9]+)/g, '$1/$2/$3')), ' '));
return $date.text(gl.utils.timeFor(new Date(date.replace(/([0-9]+)-([0-9]+)-([0-9]+)/g, '$1/$2/$3')), ' '));
}
};

View file

@ -0,0 +1,4 @@
---
title: Fix typo in Build page JavaScript
merge_request: 7563
author: winniehell