mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-23 16:26:16 -04:00
fix translatreDateTimeFormat args assignment error
This commit is contained in:
parent
7557f43f77
commit
8f85e57fc5
2 changed files with 2 additions and 2 deletions
|
@ -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.slice(1);
|
||||
let date;
|
||||
|
||||
try {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue