Public bug reported:

Binary package hint: gnuplot

I've recently struggled with parsing some stuff from my log files.
After discovering that three-letter name of month isn't parseable by
gnuplot, I tried to just plot for one month, using a timefmt of "%d
%H:%M:%S".  Gnuplot accepts this, but interprets the "%d" value as
seconds since Jan 2000, and ignores the time information.  Prepending a
numerical month, and using "%m/%d ..." works.

My main issue is that a single %d should be interpreted as day-of-month
(using current year and month if not otherwise specified)

In addition, I think gnuplot should provide better error reporting when
date parsing fails, and especially if timefmt tries to use unsupported
fields like %b or %h, it should be easy to provide something better than
"x range is invalid".

Ubuntu 10.04, gnuplot 4.2 patchlevel 6 from deb version 4.2.6-1

** Affects: gnuplot (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Problems reading date format
https://bugs.launchpad.net/bugs/602193
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to