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

fix: was crashing when pattern is all digits #33

Merged
merged 1 commit into from
Feb 20, 2019

Conversation

nomiddlename
Copy link
Collaborator

This was an error I found when testing some stuff in log4js. If the date pattern is something like '.yyyyMMdd', or even just '.ss' then the date rolling was identifying the date part of the filename as the index and crashing because it could not find the date part.

@nomiddlename nomiddlename added this to the 1.0.2 milestone Feb 20, 2019
@nomiddlename nomiddlename merged commit c60e29f into master Feb 20, 2019
@nomiddlename nomiddlename deleted the fix-for-patterns-as-digits branch February 20, 2019 21:49
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.

1 participant