Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated
Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.

Birthday format is not correctly displayed

6 years 2 months ago
Licenses:
JomSocial Active iSEO Active Socialize Active

We have new Joomla installation with Joomla 3.8.5 with PayPlans latest version 3.6.3, Jomsocial 4.5.
We are currently in the setup process.

In the registration form the Birthday format is not correctly displayed....it shows:

example: Thursday-December-19311931

Meaning the year is shown twice.

In the backend we have brith field defined as format: dd-mm-yyyy
So I would expect exactly this: 15-DEC-1931
See attachments...

Can you help on this to get it fixed.

Attachments:
6 years 2 months ago
Licenses:
JomSocial Active GURU Active Publisher Active AdAgency Active iSEO Active Socialize Active

Hi
In this case, i need to check the issue on your site.
Kindly edit your first and submit site super user details with FTP details in Private (For Mods/staff only.)
I will check it.

Regards

6 years 2 months ago
Licenses:
JomSocial Active iSEO Active Socialize Active

Hi,
I have updated with the login credentials.
Thanks for reviewing.

Regards
Markus

6 years 2 months ago
Licenses:
JomSocial Active GURU Active Publisher Active AdAgency Active iSEO Active Socialize Active

Hi
You have add the year two times in birthday files so it was showing like this: prntscr.com/idxgro
I removed it now you can see its showing fine.

Regards

6 years 2 months ago
Licenses:
JomSocial Active iSEO Active Socialize Active

hi Pankaj,
thanks for reviewing and the corrections.

Now indeed it only shows the year one time.....but it is still not good !!!!

What I see as a result is: Thursday-June-1980
But where is the day information ????

I selected from Calendar pop-up: 12-06-1980 and as I originally used format dd-mm-yyyy, I was expecting date like 12-06-1980 .... while with format dd-mm-yy, I would expect 12-06-80 ....so two digits

But the results I see are not at all what I would expect.

So I assume the date format coded in Jomsocial is on PHP side and not for DB.

And what is really confusing is the official Jomsocial instructions for this birth day field.....you see there is mention about
YYYY-MM-DD or numeric age.

In the date format field it says
date format .(PHP - for example. d.m.Y -> Day.Month.Year) ...but nothing more.
So this is just example and I would assume I can use any official PHP date format.

If I use exactly d.m.y....I do get 12.06.80
If I use dd.mm.yy I do get: Thursday.June.1980. ....
and if I use d.m.yy ....I do get 12.06.1980

So my solution is therefore d-m-yy which is resulting in 12-06-1980. ....


Appreciate your comments

Attachments:
6 years 2 months ago
Licenses:
JomSocial Active GURU Active Publisher Active AdAgency Active iSEO Active Socialize Active

Hi
Please check the data format is correct now: prntscr.com/ie42w3
It need to change the date formate, I noticed you already changed it in Jomsocial.
its the different date formate in the PHP, not related to the database.
Regards

6 years 2 months ago
Licenses:
JomSocial Active iSEO Active Socialize Active

hi Pankaj,

it is o.k. now and I am happy with the result.
The confusion was really about the format and my understanding. This is not very transparent when you need to setup the date format in backend based on available information.
There should be better and more comprehensive tooltip for the person in charge of setup or maybe a link to official PHP date format possibilities.
But I would not expect to get Thursday-June-1980 when I use dd-mm-yy. ;-)

Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW