1. Trevor Caira
  2. timebook
  3. Issues
Issue #9 new

CSV output on windows has double line endings

Steven Kryskalla
created an issue

When redirecting output from t to a CSV file on Windows the file contains an extra blank line after every line. This throws off the Excel formula.

I think if it was writing to a file you could use 'wb' mode to get the correct behavior, but since it's writing to stdout it's a little trickier.

Attached is a patch that fixes the issue for me.

Thanks for timebook BTW, it looks very handy!


Comments (0)

  1. Log in to comment