Fixed DateTime format arguments
parent
ab248a0209
commit
1a1fad7433
|
@ -60,7 +60,7 @@ class TranslateDateTimeFormat extends Operation {
|
||||||
* @returns {html}
|
* @returns {html}
|
||||||
*/
|
*/
|
||||||
run(input, args) {
|
run(input, args) {
|
||||||
const [inputFormat, inputTimezone, outputFormat, outputTimezone] = args;
|
const [inputFormat, inputTimezone, outputFormat, outputTimezone] = args.splice(1);
|
||||||
let date;
|
let date;
|
||||||
|
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Reference in New Issue