mirror of
https://github.com/gchq/CyberChef.git
synced 2024-11-10 21:26:37 +01:00
Fixed DateTime format arguments
This commit is contained in:
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
Block a user