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

Trim characters option added and configurable #110

Closed
wants to merge 2 commits into from

Conversation

Loschcode
Copy link
Collaborator

@Loschcode Loschcode commented Oct 10, 2017

In cases such as 2017-10-08 it takes out the - and split up each part of the character chain as a word.

Adding config.trim_characters = ['-'] fixes the issue on my end, considering the above date will be equal to 20171008.

It might not suite everyone though, but still a good option to add to the gem.

@sveredyuk
Copy link
Collaborator

Seems like #108 resolved same issue

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

Successfully merging this pull request may close these issues.

2 participants