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

Suggestion for Adding Calendar Input in Extra Survey #3074

Open
sudhann92 opened this issue Sep 27, 2024 · 0 comments
Open

Suggestion for Adding Calendar Input in Extra Survey #3074

sudhann92 opened this issue Sep 27, 2024 · 0 comments

Comments

@sudhann92
Copy link

sudhann92 commented Sep 27, 2024

Hi Team,

I have a suggestion regarding the extra survey. Would it be possible to add a calendar option for the Answer type? This would allow users to easily select and provide a date in the correct format.

I've developed an automation where users input a date value, which I need to convert to a specific format before sending it to the database, as the DB accepts only a particular format. However, multiple users are using this automation, and they often input the date in various formats such as dd.mm.yyyy, dd/mm/yyyy, and dd-mm-yyyy, mm.dd.yyyy, mm-dd-yyyy, mm/dd/yyyy etc. which makes it challenging to convert the date to the required format (dd-mm-yyyy). Even using the to_datetime filter doesn’t resolve the issue due to the inconsistency in date formats.

To handle this, I created a custom module to manage the situation, but I believe having a calendar option for date input would ensure a consistent format for everyone.

If we add this new feature in new Ansible Automation platform release that would more helpful for many users.

Thanks & Regards
Sudhan

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

No branches or pull requests

1 participant