×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Calendar - Change Time Format

Calendar - Change Time Format 9 years 2 weeks ago #32933

  • Steven Voorhees
  • Steven Voorhees's Avatar Topic Author
  • Offline
  • Junior Boarder
  • Junior Boarder
  • Posts: 24
  • Thank you received: 6
I'm trying to change the time format on the calendar. By default it has H:mm. If I change it to h:mm, it changes the hour from, for example, 18 to 6, which is correct. But, I cannot get PHP AM/PM codes to work. I've attempted h:mm a, h:mm p (from your tooltip), and they do not work.

Am I missing something?

Calendar - Change Time Format 9 years 2 weeks ago #32934

  • Yves Hoppe
  • Yves Hoppe's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 3519
  • Karma: 71
  • Thank you received: 556
Hi Steven,

where do you try to change them? For the calendar most time settings are in the Joomla menu item. (Not all, some are in the configuration too)

This is because on the calendar you have some different views, where you don't have enough place for complete dates etc. and the calendar plugin is using different format.

For AM / PM for example it's h(:mm)t, see this documentation:

fullcalendar.io/docs/text/timeFormat/

Kind regards,
Yves
  • Page:
  • 1
Time to create page: 0.167 seconds