[ic] time and convert_date oddities
paul at gishnetwork.com
Mon Aug 8 03:03:01 UTC 2011
I was noticing some differences of using "%X" in the below, and found an
additional head scratcher.
[time fmt="%X"]<br />
[convert_date fmt="%X"][time fmt="%Y-%m-%d %H:%M:%S"][/convert_date]
[convert_date fmt="%X"]2011-08-07 12:34:56[/convert_date]
The first thing I notice is that AM/PM is added when using convert_date, and
the docs don't show %X as outputting this. The second thing I notice is that
the seconds place is always 00 for convert_date. I don't need the seconds in
this case, I'm just trying to be complete in my observations.
Are these expected, bugs, or am I misunderstanding some usage?
More information about the interchange-users