Fixed DateTime format arguments
parent
ab248a0209
commit
1a1fad7433
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue