From ed83f8f77e00c7ea7f5a8d0d46fb5de8a47cc762 Mon Sep 17 00:00:00 2001 From: narcolepticinsomniac Date: Wed, 12 Jul 2017 09:22:49 -0400 Subject: [PATCH] Switch date format for backups Fixes #114 --- backup/fileSaveLoad.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backup/fileSaveLoad.js b/backup/fileSaveLoad.js index 67f6b077..7626a1b2 100644 --- a/backup/fileSaveLoad.js +++ b/backup/fileSaveLoad.js @@ -347,7 +347,7 @@ $('#file-all-styles').onclick = () => { const dd = ('0' + today.getDate()).substr(-2); const mm = ('0' + (today.getMonth() + 1)).substr(-2); const yyyy = today.getFullYear(); - return `stylus-${mm}-${dd}-${yyyy}${STYLUS_BACKUP_FILE_EXT}`; + return `stylus-${yyyy}-${mm}-${dd}${STYLUS_BACKUP_FILE_EXT}`; } };