diff --git a/js/backup_restore.js b/js/backup_restore.js index 713e6bce80..e0c5e12b2f 100644 --- a/js/backup_restore.js +++ b/js/backup_restore.js @@ -47,7 +47,7 @@ function configuration_backup(callback) { // generate timestamp for the backup file var d = new Date(), - now = d.getUTCFullYear() + '.' + d.getDate() + '.' + (d.getMonth() + 1) + '.' + d.getHours() + '.' + d.getMinutes(); + now = (d.getMonth() + 1) + '.' + d.getDate() + '.' + d.getFullYear() + '.' + d.getHours() + '.' + d.getMinutes(); // create or load the file chrome.fileSystem.chooseEntry({type: 'saveFile', suggestedName: 'baseflight_backup_' + now, accepts: accepts}, function (fileEntry) {