Support

  1. mrmark71
  2. Support
  3. Wednesday, March 25 2015, 09:55 PM
Hi...

How do i put a comma between the day and the date?
Example: Wednesday, 25 March 2015

Now its: Wednesday 25 March 2025


Regards, Mark
Accepted Answer
admin Accepted Answer
Admin
Hi,
last visit date format use Joomla language string, so output is different for each language.

Language Constant is DATE_FORMAT_LC1 and english value is "l, d F Y"

l => day (text)
d => day (number)
F => month (text)
Y => Year (4 digits)
read here for more infos: http://php.net/manual/it/function.date.php

You can override this language string with your value, go into Administration->Extensions->Language Manager->Overrides(left menu), now you can create a override for each language

some examples:

Constant: DATE_FORMAT_LC1
Text: F j, Y, g:i a
Result: March 10, 2001, 5:16 pm

Constant: DATE_FORMAT_LC1
Text: m.d.y
Result: 03.10.01

Why language strings? because for each language the format is different, and goes according to the habits and standards of that country.
Attachments (1)
  1. more than a month ago
  2. Support
  3. # Permalink


There are no replies made for this post yet.
However, you are not allowed to reply to this post.
Sorry, the discussion is currently locked. You will not be able to post a reply at the moment.

Request Support

Support is currently Offline

Support Availability

Working days: Monday to Friday. The support staff is not available on weekends; in the most of cases tickets will not be answered during that time.

Reply time: Depending on the complexity of your support issue it's usually between a few minutes and 24 hours for paid members and about one week for free members. When we expect longer delays we will notify you.

Guidelines

Before you post: read the documentation and search the forums for an answer to your question.

When you post: include Site Details if you request a support (you can use the form below the reply in Site Details tab).

Auto Solved Question: If after a week the author of the post does not reply to a request by moderator, the question will be marked as resolved.

Language: only English

Search Users

Easy Profile® is not affiliated with or endorsed by Open Source Matters or the Joomla Project. Joomla is Free Software released under the GNU/GPL License.