// examples
var list = [
{ id: 1, foo: 'f', bar: 'barbarbarbar' },
{ id: 2, foo: 'foo', bar: 'barbar' },
{ id: 3, foo: 'foofoo', bar: 'bar' },
{ id: 4, foo: 'foofoofoofoo', bar: 'b', fb: 'foobar' }
];
print.pt(list);
// out
+----+--------------+--------------+-----------+
| id | foo | bar | fb |
+----+--------------+--------------+-----------+
| 1 | f | barbarbarbar | undefined |
| 2 | foo | barbar | undefined |
| 3 | foofoo | bar | undefined |
| 4 | foofoofoofoo | b | foobar |
+----+--------------+--------------+-----------+
Simple date format
Pattern Letters
Format Description Example
------- ----------------------------------------------------------- -------
yyyy A full numeric representation of a year, 4 digits 1999 or 2003
yy A two digit representation of a year 99 or 03
y A two digit representation of a year 99 or 03
MM Numeric representation of a month, with leading zeros 01 to 12
M Numeric representation of a month, without leading zeros 1 to 12
dd Day of the month, 2 digits with leading zeros 01 to 31
d Day of the month without leading zeros 1 to 31
HH 24-hour format of an hour with leading zeros 00 to 23
H 24-hour format of an hour without leading zeros 0 to 23
hh 12-hour format of an hour without leading zeros 1 to 12
h 12-hour format of an hour with leading zeros 01 to 12
mm Minutes, with leading zeros 00 to 59
m Minutes, without leading zeros 0 to 59
ss Seconds, with leading zeros 00 to 59
s Seconds, without leading zeros 0 to 59
SS Milliseconds, with leading zeros 000 to 999
S Milliseconds, without leading zeros 0 to 999
A Uppercase Ante meridiem and Post meridiem AM or PM
a Lowercase Ante meridiem and Post meridiem am or pm