Localised time format (strftime) for posts
I’d like to be able to use the (localised) strftime formatting for the titles of the blogs. That would allow titles like: Monday, December 23rd.
In fact i did it myself on my blog. The only thing to do is to modify the functions mysqltodate in “functions.php” and the_date in “template-functions-general.php” by adding a supplementary boolean argument, say “use_local”.
Once these functions are modified you just have to put something like the_date(‘%A %e %B %G’,'<h2>’,'</h2>’, 1, 1); for the title of each post.
Can this feature be added in wordpress?
- The topic ‘Localised time format (strftime) for posts’ is closed to new replies.