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.

Event date form,at in calendar view

7 years 9 months ago
  • Gary's Avatar
    Topic Author
  • Gary
  • Offline
  • Fresh Boarder
  • Thank you received: 0
Licenses:
JomSocial Active

Where can I change this date format? Screen shot included. Currently showing day/month - I need it to show month/day. I have change/added every override I can find relating to date format.

Attachments:
7 years 9 months ago
Licenses:

Hi,

please edit:
/modules/mod_community_eventscalendar/calendar.js at line 144, find this code

var date = lpad(d.getDate(), 2) + '/' + lpad(d.getMonth() + 1, 2) + ' ';
changing it to
var date = lpad(d.getMonth() + 1, 2) + '/' + lpad(d.getDate(), 2) + ' ';

Regards

The following user(s) said Thank You: Gary
7 years 9 months ago
  • Gary's Avatar
    Topic Author
  • Gary
  • Offline
  • Fresh Boarder
  • Thank you received: 0
Licenses:
JomSocial Active

"fix" works. Is this something that should be added as a code change going forward. Hate to change core files... How does one add a suggested enhancement?

7 years 9 months ago
Licenses:

Hi,

we will put this as improvement for jomsocial. so user no need to changing any core files.
for now you need to changing the "core" file.

Regards

The following user(s) said Thank You: Gary
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