Skip to content
Snippets Groups Projects
Commit b6dc87cb authored by Fatih Acet's avatar Fatih Acet
Browse files

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
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -128,7 +128,7 @@
$date = $('.js-artifacts-remove');
if ($date.length) {
date = $date.text();
return $date.text($.timefor(new Date(date), ' '));
return $date.text($.timefor(new Date(date.replace(/-/g, '/')), ' '));
}
};
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment