Date Formats in Post Bylines
String: <strong>%author-linked%</strong> posted on <strong>%date('F jS, Y')%</strong>
Renders: Jeffrey Schwab posted on May 26th, 2008 String: <strong>%author-linked%</strong> posted on <strong>%date('j F Y')%</strong> Renders: 26 May 2008 All I changed was the date format to that which I use all over the site. |
I am getting the same result, looking into it...
|
Dates starting with a number don't work, others work. The regular expression gets thrown off
If you want to fix it yourself for now, in functions/bfa_postinfo.php line 160 change PHP Code:
PHP Code:
|
That fixed the problem. Thanks!
No, I do not have a non-English blog. Sorry. |
Hi Flynn and others,
I am having the footer set as follows: %date('j F Y')% | %tags-linked('Tags: ', ', ', ' | ')% Categorie: %categories-linked(', ')% | %comments('Reageren', 'Eén reactie', '% reacties', 'Reacties op dit bericht zijn afgesloten')% %edit(' | ', 'Deze post bewerken', '')% This renders: maart 21st, 2010 at 23:58 I would like to have it render: 21 maart 2010 om 23:58 (i.e., no "st" after the date, no comma before the year, and the word "at" replaced by "om") My site is in Dutch; the month of March is correctly translated into "maart". Thanks for your help! Rutger |
I just tried exactly what you ahve coded and I get the correct format, this must have something to do with the language translation, try using %date('F j Y')% and see what happens
|
Hi Juggledad,
Replacing %date('j F Y')% by %date('F j Y')% does not seem to make any difference. It still renders maart 21st, 2010 at 23:58, including the translated month name. Thanks for any additional suggestions! |
Hmmm, I just tried the two and %date('j F Y')% gives me '18 February 2010' - this must have something to do with the language translation since it works fine in english on 3.4.6 - however, I have never tried to look at how the translating works.
|
As I posted in another post. Same problem. German setup 2.9.2 and 3.4.6. I think its the translation, but I'm not fit in php :)
|
All times are GMT -6. The time now is 04:42 AM. |
Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.