Этот коммит содержится в:
Joram Wilander
2016-04-29 11:56:46 -04:00
коммит произвёл Christopher Speller
родитель 709f9dcbba
Коммит f817e3c89a

Просмотреть файл

@@ -242,7 +242,7 @@ class FileUpload extends React.Component {
min = String(d.getMinutes());
}
const name = formatMessage(holders.pasted) + d.getFullYear() + '-' + d.getMonth() + '-' + d.getDate() + ' ' + hour + '-' + min + '.' + ext;
const name = formatMessage(holders.pasted) + d.getFullYear() + '-' + (d.getMonth() + 1) + '-' + d.getDate() + ' ' + hour + '-' + min + '.' + ext;
const request = Client.uploadFile(file,
name,