Page 1 of 1
Calendar Report Time Format
Posted: Thu Oct 27, 2022 10:52 pm
by bui
The time format on the Calendar Report (Month) shows as follows
11a
2p
2:30p
I would like to show the time format as hh:mm am/pm
11:00 am
02:00 pm
02:30 pm
##what is the use of "Group ID" field in the Calendar Report
Re: Calendar Report Time Format
Posted: Thu Oct 27, 2022 11:11 pm
by mobhar
Group ID seems to make repeated events based on the value of the initial Event ID.
Re: Calendar Report Time Format
Posted: Thu Oct 27, 2022 11:24 pm
by bui
How to show the time in HH:mm am/pm
Re: Calendar Report Time Format
Posted: Fri Oct 28, 2022 12:58 pm
by arbei
You may read FullCalendar's docs on Date Formatting, you can set eventTimeFormat to ICU format "hh:mm a".
e.g.
<script>
ew.calendarOptions.fullCalendarOptions.eventTimeFormat = "hh:mm a";
</script>
To add options to FullCalendar you may use Page_Head (Example 4) and add properties to ew.calendarOptions.fullCalendarOptions
(which is an object with storing options for initializing FullCalendar) by JavaScript.
Re: Calendar Report Time Format
Posted: Sat Oct 29, 2022 9:31 am
by mobhar
Thanks. It works properly.
Re: Calendar Report Time Format
Posted: Mon Jul 08, 2024 10:39 pm
by mapp11
hello, I try with the code in phpmaker 2024 but this failure
code:
<script>
ew.calendarOptions.fullCalendarOptions.eventTimeFormat = "hh:mm a";
</script>
this code put in : server events>all pages> page head
the error is : syntax error, unexpected token "<", expecting end of file
very grateful for the help on this
Re: Calendar Report Time Format
Posted: Tue Jul 09, 2024 9:02 am
by arbei
You may find out the exact location of the syntax error in your browser's Console panel. The code you posted does not have syntax error.
Re: Calendar Report Time Format
Posted: Tue Jul 09, 2024 11:39 pm
by mapp11
You are right, it seems that the code does not recognize me since it warns me that the page is in Quirks Mode, I am using phpmaker 2024, and the calendar reported that it already comes in the version, I would understand that the Quirks Mode should not give me problems
Re: Calendar Report Time Format
Posted: Wed Jul 10, 2024 8:49 am
by arbei
Do not use Quirks Mode anymore, old browsers like IE are not supported.