Skip to content

Ability to specify DataWriterType and new type that prefers unix timestamp #103

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

Merged
merged 2 commits into from
Jun 25, 2014

Conversation

engineersamuel
Copy link
Contributor

I have a use case there I'd like the csv output to prefer the full unix timestamp if available. That was simple enough, created a new DataWriterType and preferred the unix timestamp if available.

Added that as a -t option to the command line arguments while maintaining backwards compatibility with existing arguments.

…taining backwards compatibility with the current options. Also allowing a new output type CSV_TS which prefers the unix timestamp of the entry first.
@chewiebug chewiebug merged commit fd9b977 into chewiebug:master Jun 25, 2014
@chewiebug
Copy link
Owner

Hi Samuel,

Thank you very much for your contribution including the unittest! I have merged it with my master branch and refactored the args parsing functionality into its own class.

Best regards,
Jörg

@chewiebug chewiebug added this to the 1.34 milestone Jun 25, 2014
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