faheem801 / flot

Automatically exported from code.google.com/p/flot
MIT License
0 stars 0 forks source link

add date formatting options #419

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
add the following date formatting options to xaxis 'timeformat' specifier:
- zero-padded month value(flot documentation says to use '%0m for zero-padding' 
but this doesnt work as of ver 0.6)
- zero-padded day value(same as above, '%0d' doesnt work as of ver 0.6)
- customizable weekday names (same as month names, a user-defined array)

Original issue reported on code.google.com by changos...@gmail.com on 15 Sep 2010 at 7:59

GoogleCodeExporter commented 9 years ago
The attached patch adds support for %a - configurable short weekday name (Sun, 
Mon, etc.) and for %n - hard newline (<br/> is inserted instead)

Original comment by kyryl.bilokurov on 12 Oct 2010 at 12:51

Attachments:

GoogleCodeExporter commented 9 years ago
any news about zero-padded month and day values?

Original comment by runningw...@bugfree.it on 5 Apr 2011 at 8:29

GoogleCodeExporter commented 9 years ago

Original comment by dnsch...@gmail.com on 7 May 2012 at 8:33

GoogleCodeExporter commented 9 years ago
This is complete and present in the master branch, as part of Mark Cote's pull 
request #47.

Original comment by dnsch...@gmail.com on 11 Jul 2012 at 1:43