petit icon indicating copy to clipboard operation
petit copied to clipboard

Unsupported timestamp format: 2020-09-27T00:00:03.766699+00:00

Open scott-deboy opened this issue 5 years ago • 1 comments

If I swap the T with a space in this timestamp convention, parsing works - can this format with T be supported?

cat test1.txt

2020-09-27T00:00:03.766699+00:00 hostxxxxx su: pam_unix(su:session): session closed for user yyyy

petit --sgraph ./test1.txt

Cannot parse values on line: 0

cat test2.txt

2020-09-27 00:00:03.766699+00:00 hostxxxxx su: pam_unix(su:session): session closed for user yyyy

petit --sgraph ./test2.txt

############################################################ 01 31 00

Start Time: 1900-01-01 01:01:01 Minimum Value: 0 End Time: 1900-01-01 01:02:00 Maximum Value: 1 Duration: 60 seconds Scale: 0.166666666667

scott-deboy avatar Oct 02 '20 13:10 scott-deboy

Sorry, just seeing this. I guess I had kind of let it become a dead project. I'm thinking about firing it back up, migrating to Python 3 and fixing some of these bugs :-)

fatherlinux avatar Oct 13 '22 14:10 fatherlinux