Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bug report: Incorrect Week number in "Parse DateTime" #1106

Closed
EdgeSync opened this issue Sep 19, 2020 · 2 comments
Closed

Bug report: Incorrect Week number in "Parse DateTime" #1106

EdgeSync opened this issue Sep 19, 2020 · 2 comments
Labels

Comments

@EdgeSync
Copy link

Describe the bug
When using the Parse DateTime function, the Week number returns the Year value, not the current week number.

To Reproduce

  • Drag "Parse DateTime" into Recipe Field

  • In Input enter a date time in the specified format of the recipe (i.e. International date and time: 2020-01-01 01:01:01

  • See value of "Week Number" in output is 2020

Expected behaviour
Should return a value between 1-52 depending on the week the date was in.

Screenshots
image

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

  • OS: Linux Mint 19

  • Browser: Firefox 80.01

  • CyberChef version: 9.21.0

  • OS: Windows 10 x64 19-09

  • Browser: Chrome 85.0.4183.102

  • CyberChef version: 9.21.0

Additional context
Tried on github instance, and local instance:
https://gchq.github.io/CyberChef/#recipe=Parse_DateTime('Standard%20date%20and%20time','DD/MM/YYYY%20HH:mm:ss','UTC')&input=MDEvMDEvMjAyMCAwNjozMDoxMg

@EdgeSync EdgeSync added the bug label Sep 19, 2020
@mattnotmitt
Copy link
Collaborator

Duplicate of #1084

@EdgeSync
Copy link
Author

Closing as duplicate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants