Fixed DateTime format arguments

feature-extract-files
Cynser 2018-08-16 03:01:19 +01:00
parent ab248a0209
commit 1a1fad7433
1 changed files with 1 additions and 1 deletions

View File

@ -60,7 +60,7 @@ class TranslateDateTimeFormat extends Operation {
* @returns {html}
*/
run(input, args) {
const [inputFormat, inputTimezone, outputFormat, outputTimezone] = args;
const [inputFormat, inputTimezone, outputFormat, outputTimezone] = args.splice(1);
let date;
try {