2
0
mirror of https://github.com/gchq/CyberChef synced 2025-12-05 23:53:27 +00:00

Fix test to fit new time-delta format

This commit is contained in:
tomgond
2024-04-01 19:42:56 +03:00
committed by GitHub
parent 56f92afbf4
commit dfedfa9f4c

View File

@@ -38,7 +38,7 @@ TestRegister.addTests([
recipeConfig: [
{
op: "DateTime Delta",
args: ["Standard date and time", "DD/MM/YYYY HH:mm:ss", "+0.0:01:0"],
args: ["Standard date and time", "DD/MM/YYYY HH:mm:ss", "Add", 0, 0, 1, 0],
},
],
},
@@ -49,7 +49,7 @@ TestRegister.addTests([
recipeConfig: [
{
op: "DateTime Delta",
args: ["Standard date and time", "DD/MM/YYYY HH:mm:ss", "-0.1:00:0"],
args: ["Standard date and time", "DD/MM/YYYY HH:mm:ss", "Subtract", 0, 1, 0, 0],
},
],
},