We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The default date pattern starts with a '.' - i'm guessing for easy appending.
this.datePattern = options.datePattern ? options.datePattern : '.yyyy-MM-dd';
When the prepend option is used, the filename winds up starting with .
in _getFilename, add the leading or trailing '.' there.
eg:
if (this.prepend) { return formattedDate + '.' + this._basename; } return this._basename + '.' + formattedDate;
or:
if (this.prepend) { return [formattedDate,this._basename].join('.'); } return [this._basename,formattedDate].join('.');
The text was updated successfully, but these errors were encountered:
Resolved by #42 and published to npm as v1.1.2.
Sorry, something went wrong.
correcting regression introduce with #38 resolution
d6cab27
Successfully merging a pull request may close this issue.
The default date pattern starts with a '.' - i'm guessing for easy appending.
When the prepend option is used, the filename winds up starting with .
in _getFilename, add the leading or trailing '.' there.
eg:
or:
The text was updated successfully, but these errors were encountered: