Meeting start and end times

Hi, I have to set up a meeting that starts at 14:20 and ends at 14:35.

How do I add this to meetings in the CRM? It only allows 15 minute increments (14:00, 14:15, 14:30, 14:45)

Thanks.

Hi, welcome to the Community! :tada:

I am not sure of this answer, but I think you can edit it here

https://github.com/salesagility/SuiteCRM/blob/master/modules/Meetings/Meeting.php#L100

it won’t be upgrade-safe, though. But tell me if it works - I can’t try it myself right now

Hi, thanks for the reply.

Didn’t work, unfortunately! :neutral_face:

What about in Admin / Dropdown editor, can you find any dropdown with those values?

Couldn’t find anything, but I don’t really know what I’m looking for

I looked it up just now on the live demo - the dropdown is called duration_intervals

… but changing it doesn’t seem to have any effect :frowning:

Well spotted. Sadly, it didn’t work for me either. :slightly_frowning_face:

Hey the SugarFields/Datetimecombo is the one that controls the list in the dropdown for time
The actual js script file while has this select and is being loaded by CRM is
include/SugarFields/Fields/Datetimecombo/Datetimecombo.js
The above file is min version of
jssource/src_files/include/SugarFields/Fields/Datetimecombo/Datetimecombo.js

If you look at this file around line 188 you will the select being constructed.

You can modify this select according to your needs (Upgrade Unsafe). Then you can do “Rebuild Minified JS Files” in the Repair section. Caution this will copy all the js files from source.
A Hack to replace “Rebuild Minified JS Files” is to manually copy the js file from jssource to the include folder

1 Like

From @abuzarfaris ’ answer I recalled that you can find several examples dealing with this here in the forums:

https://community.suitecrm.com/search?expanded=true&q=Datetimecombo.js

1 Like

Thank you, that worked perfectly!

1 Like