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
Comment #1
thelocaltourist commentedbump
Comment #2
bartezz commentedI 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
Comment #3
bartezz commentedCrap 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
Comment #4
j0nathan commentedHi,
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.
Comment #5
nancydruOnly 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
tfunction 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.