Commit b6dc87cb authored by Fatih Acet's avatar Fatih Acet

Merge branch 'ff-artifacts-date-fix' into 'master'

Fixed artifacts expire date in FF

## What does this MR do?

FireFox was trying to parse the date incorrectly so it would just show 'Past due'

## Screenshots (if relevant)

![Screen_Shot_2016-07-21_at_17.16.57](/uploads/938d39c648dc98540cd991cf552276dd/Screen_Shot_2016-07-21_at_17.16.57.png)

See merge request !5403
parents fdadbbe3 6e50719f
...@@ -128,7 +128,7 @@ ...@@ -128,7 +128,7 @@
$date = $('.js-artifacts-remove'); $date = $('.js-artifacts-remove');
if ($date.length) { if ($date.length) {
date = $date.text(); date = $date.text();
return $date.text($.timefor(new Date(date), ' ')); return $date.text($.timefor(new Date(date.replace(/-/g, '/')), ' '));
} }
}; };
......
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