oetiker / RrdGraphJS

An interactive graphing component for RRDtool
http://www.rrdtool.org
GNU General Public License v2.0
54 stars 7 forks source link

rrdGraphCtrl.js > left zero-pad HH #12

Open pablos-here opened 2 years ago

pablos-here commented 2 years ago

Hi,

When scrolling, I noticed that the HH is left, zero-padded.

For example, instead of 09:41:08, we get 9:41:08

This enhancement is a request to zero-pad HHs either always or with an exposed parameter.

Thx!