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

Have we a way to bind Datetime values from querystring or route? #302

Open
lucasteles opened this issue May 8, 2021 · 2 comments
Open

Comments

@lucasteles
Copy link

I know that doesn't exists a format for datetime to use with getf

So, I can't find a way to bind datetime values from URL...
could someone show me how I do it?

@64J0
Copy link
Contributor

64J0 commented Aug 27, 2021

Can you provide us more information about this? I think that an example would help a lot to understand.

@lucasteles
Copy link
Author

@64J0 something like

getf "/api/%datetime" getApplication

I want to bind some datetime ISO string directly to a System.Datetime like asp.net does

I know that does not exist string format for DateTime, but I want to know if we have another way to do it.

For know the only way I see is parsing the raw string by hand

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

2 participants