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

change json-file filename #177

Merged

Conversation

jeremymv2
Copy link
Contributor

@jeremymv2 jeremymv2 commented Dec 3, 2016

Description

Changes timestamp format so that filename does not contain colon which causes errors on Windows.

irb(main):027:0> "inspec-#{Time.now.strftime('%Y%m%d%H%M%S')}.json"
=> "inspec-20161202230551.json"
irb(main):028:0>

Issues Resolved

#173

Check List

Signed-off-by: Jeremy J. Miller jm@chef.io

Signed-off-by: Jeremy J. Miller <jm@chef.io>
@jeremymv2 jeremymv2 changed the title change json-min filename change json-file filename Dec 3, 2016
@chris-rock
Copy link
Contributor

Awesome @jeremymv2

@chris-rock chris-rock merged commit 30a7206 into chef-boneyard:master Dec 5, 2016
@jeremymv2 jeremymv2 deleted the jeremymv2/json-file-datestamp branch December 5, 2016 16:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants