Skip to content

saved recipe on timeFormat doesn't load saved format-strings  #1138

Closed
@securebyaccident

Description

@securebyaccident

Describe the bug
The 'save recipe' functionality is great, but doesn't correctly load saved dateformats for 'translate dateTime Format'

To Reproduce
Steps to reproduce:

  1. have input of a unixtime like 1605045122
  2. Load/apply 'from Unix Timestamp'
  3. Load/apply 'Translate dateTime Format' with 'ddd D MMMM Y HH:mm:ss' as the input format string & 'Y-M-D HH:mm:ss' as the output format string.
  4. use 'Save recipe' with recipe & inputs.
  5. load cyberchef again & load your recipe - it does not respect the saved dateFormats / load them, and they're tedious to reconstruct everytime - it's a prime case of why you'd want a saved recipe.

Expected behaviour
Saved recipe's including format-strings in the recipe should be saved & correctly loaded in saved-recipes. It seems the problem isn't in saving it but loading it correctly.

Desktop (if relevant, please complete the following information):

  • OS: osx 11.01
  • Browser: chrome
  • CyberChef version: v9.21.0

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions