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.

Change Date format for whole site frontend

8 years 10 months ago
  • ewebs's Avatar
    Topic Author
  • ewebs
  • Offline
  • Fresh Boarder
  • Posts: 10
  • Thank you received: 0
Licenses:
JomSocial Expired

I want to change the date format for the site to d-m-Y . I want to use this format in every page like profile, events,advanced search by birthdate, etc.

I am using latest version of Jomsoical 4.0.8

Can anyone please suggest me the way to do so?

Thanks in advance for help!

8 years 10 months ago
Licenses:

Hi,

- for bithdate: jomsocial backend > profiles > customize profile > birthdate
- for events date joomla backend > extensions > language manger > overrides > new
search for this constants:

COM_COMMUNITY_EVENTS_TIME_FORMAT_24HR
COM_COMMUNITY_EVENTS_TIME_FORMAT_12HR

edit it to
%d-%m-%Y at %H:%M
%d-%m-%Y at %I:%M %p

I think the date only those.

Regards

8 years 10 months ago
  • ewebs's Avatar
    Topic Author
  • ewebs
  • Offline
  • Fresh Boarder
  • Posts: 10
  • Thank you received: 0
Licenses:
JomSocial Expired

Thank you for your response!
I changed the profile birthdate format and it works :)

But for events it is not working. I added the keys in the backend but search for constant is not saving. It always saves to value only.
Don't know why :(

I click on the "create event" button and I still see the old format only.
Also, I want to change date format in advanced search by birthdate field as well.

Kindly, guide me for the events and advanced search option.

8 years 10 months ago
Licenses:

Hi Ewebs,

at event detail the that format already correct:



at advance search and event input form, the date format cannot be changed. that because technical purpose. at database the format is like this: y-m-d h:m:s

you can put user voice at here:
uservoice.jomsocial.com/forums/101561-jo...ial-feature-requests

JomSocial is always looking for suggestions of how to improve

Regards

Attachments:
The following user(s) said Thank You: ewebs
8 years 10 months ago
  • ewebs's Avatar
    Topic Author
  • ewebs
  • Offline
  • Fresh Boarder
  • Posts: 10
  • Thank you received: 0
Licenses:
JomSocial Expired

But I need to change the format in event form and advanced search anyhow. :(
It is required. Anyhow i have to change it. Is there any other way to do so?


I will put this suggestion in user voice surely.

Best Regards,
ewebs

8 years 10 months ago
Licenses:

Hi Ewebs,

really sorry. I only can mark this topic as "confirmed bug" so the developer will be decided when the "fixes/changes" will be made (in what version).

Regards

8 years 10 months ago
  • ewebs's Avatar
    Topic Author
  • ewebs
  • Offline
  • Fresh Boarder
  • Posts: 10
  • Thank you received: 0
Licenses:
JomSocial Expired

Hi ...
It is unsatisfactory
such an easy thing as an calendar...
normaly user must have an option to select calendar format ! ( Y-m-d or d-m-Y )
What when an site has user from Europe and USA !?

Also we told these problem month ago ! No solution .. no fix .. no update ...

Feel left alone

8 years 10 months ago
Licenses:

Hi Ewebs,

the form at event and advance not easy like that expected. we need to changing other code at core files.
sorry for this inconvenience, you still need to waiting for the official fixes.

Regards

8 years 8 months ago
Licenses:

Hi,

here the fix:

This attachment is hidden for guests.
Please log in or register to see it.


unzip and put it at:
/components/com_community/templates/jomsocial/layouts/search.advancesearch.php

Regards

This message has an attachment file.
Please log in or register to see it.

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