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

[FEATURE REQUEST] new function | validate format string for format function #1181

Closed
ghost opened this issue Jun 4, 2019 · 1 comment
Closed

Comments

@ghost
Copy link

ghost commented Jun 4, 2019

Hello,

assume that user specify desired format string at runtime - how to validate it?

@kossnocorp
Copy link
Member

Hey, take a look at #1169 I think this is what you're looking for.

While it's in development, you can use parse function with a specific format and then check if it's a valid date.

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

No branches or pull requests

1 participant