fix: firefox changelog date, cleanup background a bit

This commit is contained in:
David Ralph
2021-07-19 10:20:00 +01:00
parent c9f2af6b96
commit d7be6e351d
4 changed files with 8 additions and 10 deletions

View File

@@ -25,7 +25,7 @@ export default class Changelog extends React.PureComponent {
return;
}
let date = new Date(data.date);
let date = new Date(data.date.split(' ')[0]);
date = date.toLocaleDateString(window.languagecode.replace('_', '-'), {
year: 'numeric',
month: 'long',