Invalid date format in strftime

Bug #1082503 reported by G.K. Meier
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Graphite
New
Undecided
Unassigned

Bug Description

%l (percent L) (in glyph.py) is not recognized as a valid date format by strftime. Graphite will not produce images which use that as part of the data format.

Revision history for this message
Michael Leinartas (mleinartas) wrote :

Have you found a system where %l doesn't work? While it's not listed on python's strftime format list [1], the flag is actually passed down to the system strftime() call and %l appears to be supported in Linux [2], MacOS [3], FreeBSD [4], Solaris [5]. I'm not sure where else it could be missing

1: http://docs.python.org/2/library/datetime.html#strftime-and-strptime-behavior
2: http://www.kernel.org/doc/man-pages/online/pages/man3/strftime.3.html
3: https://developer.apple.com/library/mac/#documentation/Darwin/Reference/ManPages/man3/strftime.3.html
4: http://www.freebsd.org/cgi/man.cgi?query=strftime&sektion=3
5: http://docs.oracle.com/cd/E19253-01/816-5168/6mbb3hrsu/index.html

Revision history for this message
G.K. Meier (gk-meier) wrote :

Indeed I was lucky enough to find a system where it did not work; however, it is an unsupported platform. I am running Graphite on Windows + Tomcat.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.