Hi, first of all thanks for the 'Submitted by' module.
Just one question: How can I put the default date into the 'Submitted by...' text?
I mean the date formatted in the same way as it is in the default info-line (if we don't use the 'Submitted by' module).
I can't assemble this date from the tokens, since the [month] token doesn't respect the locale setttings - it puts the English month name.
Is there any way to put the full date as it is configured in admin/settings/date-time, respecting the locale settings?
Thanks

Comments

thelocaltourist’s picture

bump

bartezz’s picture

I have similar problems with [month] not being picked up by locale.
I'll have a look and see if I can cook up a patch!

Cheers

bartezz’s picture

Crap this is more difficult than I thought... I don't think tokens are being translated at all and can't find a way to make it so....

Nancy, do you know of a way to make this work?

Cheers

j0nathan’s picture

Hi,
It would be nice to have tokens like the serie [last-edit-medium] for the created date. The abbreviation of the day is translated and it's like the default display.

nancydru’s picture

Status: Active » Fixed

Only the "last-edit-xxx" dates come from Submitted_By. All the others come from the Token module and would have to be addressed by those maintainers; I believe there is already an open issue.

I have added the t function to: last-edit-month, last-edit-mon, last-edit-day, and last-edit-ddd. Hopefully the core translations will kick in. If not, you are welcome to provide a translation template.

This is committed to 6.x-1.x-dev. I was unable to test it now because of a broken PC.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.