In the entry on theme options I mentioned the date format and referenced to the strftime section of the PHP manual. While coders and other geeks will already be very familiar with this, new users and those with no PHP experience probably will not be. So let's see what all those funny little characters actually mean.
%A, %B %e. %Y, what the hell is that supposed to mean? Well, these are variable which basically tell Serendipity how to display a date using the PHP function strftime. Every combination of % and a letter stands for a part of the possible date formats. These are the variables actually used in Bulletproof:
- %a or %A Abbreviated (%a) or full (%A) weekday name.
- %b or %B Name of the month. Again, abbreviated or full.
- %d Day of the month as a number with leading zero, i.e. ranging from 01 to 31.
- %e Same as %d above, but with a space instead of the leading zero, i.e. ranging from 1 to 31.
- %m The month as a decimal number with leading zero, i.e. ranging from 01 to 12.
- %y or %Y The year as a decimal number, either with a century indicated (%Y) or without (%y)
These can be combined with dots or hyphens to format the date display in a Serendipity blog. For example, the default date format in Bulletproof is the one mentioned above: %A, %B %e. %Y. This means the date will by default be displayed like this in a blog configured to use the English language:
Full weekday name followed by a comma, then full name of the month and decimal day of the month without a leading zero followed by a dot and the year with century indicated.
For example, for the time of writing this entry, that would result to
Tuesday, August 21. 2007
Got it? However, if this sounds too complicated, just stick with the default or play with the theme option until you get a satisfying result ![]()


Recent Comments
Thu, 07.08.2008 22:20
Thank you! Been looking for th at customization for a long ti me. Will hope my new s9y-b log will be ready soon.
Mon, 21.07.2008 17:29
This is a great product, reall y simple to use, I always find the front end stuff the most awkward and least intuit [...]
Wed, 09.07.2008 13:00
Very interesting Template. Nex t time I will relaunch my blog . Thanks for your service
Wed, 30.04.2008 11:05
Yes, 1.3 is out - s9y 1.3, f or that matter, which doesn't necessarily mean there is a BP 1.3, too. (There isn't. [...]
Wed, 30.04.2008 08:04
Yes, roll out was on 2008-02-2 9 Greetz Sebastian
Tue, 22.04.2008 00:12
Hmm, isn't 1.3 out now?
Tue, 08.04.2008 10:55
Be sure to let us see how you get on
Mon, 07.04.2008 19:07
I am looking forward to experi menting with this. I'm install ing s9y with the bulletproof f ramework this week.