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

Parse date strings to Date() objects #76

Open
baspiotr opened this issue Oct 17, 2017 · 3 comments
Open

Parse date strings to Date() objects #76

baspiotr opened this issue Oct 17, 2017 · 3 comments

Comments

@baspiotr
Copy link

baspiotr commented Oct 17, 2017

Is it possible for the soft to detect dates using, for example, regex? If yes, it may be possible to perform the feature that would parse the date in strings into Date() objects.

@Miranto
Copy link

Miranto commented Oct 17, 2017

Yeah, that would be great idea, because we shouldn't keep Dates as Strings in our Model.

@insanoid
Copy link
Owner

Interesting idea, I will add it to the next release list. I am currently not actively updating the project but I will get back to it soon. If this is something you have a solution for I welcome PRs on the project (on the release branch):)

@nitinalabur
Copy link

@baspiotr @Miranto would NSDataDetector help instead of regex? It should work better than regexing. more info about nsdatadetectro here

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

4 participants