1
0
mirror of synced 2024-11-14 18:27:40 +01:00

Fixed DateTime format arguments

This commit is contained in:
Cynser 2018-08-16 03:01:19 +01:00
parent ab248a0209
commit 1a1fad7433

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 {