-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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: Parse Date and Time and Translate Date and Time recipe loading errors #1121
Comments
Setting the Built-in format to |
Thanks @mt3571 that's a good workaround; however, I still see it as unintended behaviour and a bug. Both operations default to |
I see your point. I think however that if you have selected The reason this behaviour is occurring is because the |
I guess because Perhaps it's better to have a 'Custom' entry that is default with the This will solve the auto-populate option and make it clearer to the user. Thanks for explaining the underlying issue! |
Yes I agree, I think this would be a good solution. I can (hopefully) submit a fix for this now 😄 |
Describe the bug
Both Parse DateTime and Translate DateTime have a default input date and time of
DD/MM/YYYY HH:mm:ss
.If the user loads a recipe with a different input (e.g.
YYYY-MM-DD HH:mm:ss
) this will be ignored and the originalDD/MM/YYYY HH:mm:ss
will be used instead.Duplicate of #646 but this issue also includes the Parse DateTime operation which is also affected.
To Reproduce
Load the following recipe:
[{"op":"Parse DateTime","args":["Standard date and time","YYYY-MM-DD HH:mm:ss.SSSSSS","UTC"]}]
The default input will be
DD/MM/YYYY HH:mm:ss
and notYYYY-MM-DD HH:mm:ss.SSSSSS
Expected behaviour
The input should be the value from the recipe.
Thanks! Please keep up the good work.
The text was updated successfully, but these errors were encountered: