Forums / General / Oddities in datetime()

Oddities in datetime()

Author Message

Ben Pirt

Saturday 10 January 2004 8:51:35 am

I just upgraded to the latest 3.3 and found some strangeness with the datetime function.
previously, datetime(custom,"%F %d, %Y") would output something like "January 04, 2004" as expected. But after upgrading i was getting "04, 2004" without the full month. After a bit of experimenting, I found that some of the formatting arguments would work without a % sign, but not with. So now I have to use datetime(custom,"F %d, %Y") because %F doesn't work, but %d and %Y do.

Has anyone else found this, or is it just me?

All the best,
Ben Pirt

Marco Zinn

Saturday 10 January 2004 9:55:13 am

Strange.... In the 3.3 (full install, no upgrade), this worked well for me (gallery package).

Marco
http://www.hyperroad-design.com