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

Arbitrary date formats in Date Helper #4538

Open
SFoskett opened this issue Apr 23, 2024 · 2 comments
Open

Arbitrary date formats in Date Helper #4538

SFoskett opened this issue Apr 23, 2024 · 2 comments
Labels
🔌 pieces 🤷‍♂️🤷‍♀️ untriaged Need attention from maintainer in activepieces

Comments

@SFoskett
Copy link
Contributor

Is your feature request related to a problem? Please describe.
I would like to be able to use custom date strings in my workflows, for example "September 24" or "2024", rather than the standard all-inclusive date strings. Right now I use a Text Helper to split a known string but this isn't optimal.

Describe the solution you'd like
I would like the option to enter arbitrary date formats in the Date Helper rather than just selecting from the dropdown list. For example I could enter "MMMM DD" or "YYYY".

Describe alternatives you've considered
I am currently using the included "MMMM DD YYYY" and splitting it using Text Helper to obtain these but that's 1-2 extra steps.

Additional context
I imagine we would need some kind of bounds checking to make sure the format is clean and correct.

@SFoskett
Copy link
Contributor Author

Actually I see that Date Helper allows you to extract units, and this works in my use case. But it's still an extra step and the "Day" component (and presumably "Month") trim the leading zero all the time, making it difficult to put it back INTO a Date Helper. Regardless, it works and it exists so I will call this solved unless someone wants to simply allow arbitrary formats.

@abuaboud abuaboud added 🤷‍♂️🤷‍♀️ untriaged Need attention from maintainer in activepieces 🔌 pieces and removed 🔌 pieces labels Apr 23, 2024
@abuaboud
Copy link
Contributor

Hi @SFoskett

Thank you for opening, let me try to take look how we can improve it as well

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🔌 pieces 🤷‍♂️🤷‍♀️ untriaged Need attention from maintainer in activepieces
Projects
None yet
Development

No branches or pull requests

2 participants