Set time format of calendar to 24h

Hi

how can I switch the calendar’s time format from 12h to 24h format?

Thank you in advance
Steffen.

Hover on the user name on top right of the screen and click on Profile:

This will take you to the profile edit screen, then click on the advanced tab:

and select the Time Format dropdown. There are two options (23:00 and 23.00) with 24 hour format. All the other options are 12 hour formats:

Thank you for your answer.

I tried both options. In both cases I get the same result, all time stamps are in 12h format only.

Any idea?

I would start checking all my logs, clearing the browser cache, setting permissions correctly and running a few of the Repair utilities available under Admin.

Thank you. I did all steps but there is no change.

Unfortunately I can not add an attachment to this message (don’t know why, because I’m new in the forum?). So I try to describe the problem in detail:

  • For date, calendar follows the profile settings of date format.
  • For time, calendar follows changes of time zone, but not of time format.
    Additionally, if switching to German language, calendar shows days of week and the time line on the left side in English while all other items are presented in German.

Some ideas for a solution?
Steffen.

Have you checked the logs? (suitecrm.log, sugarcrm.log, php/webserver log, browser console log) what do they say?

Have you set permissions correctly? How?

suitecrm.log shows some errors while repairing, bit it looks like it has nothing to do with the problem:

Sun Apr 23 14:47:22 2017 [92910][1][FATAL] ERROR: rmdir_recursive(): argument cache/themes/SuitePImproved/modules is not a file or a dir.
Sun Apr 23 14:47:22 2017 [92910][1][FATAL] ERROR: rmdir_recursive(): argument cache/themes/SuiteR/modules is not a file or a dir.
Sun Apr 23 14:47:22 2017 [92910][1][FATAL] ERROR: rmdir_recursive(): argument cache/themes/Suite7/modules is not a file or a dir.
Sun Apr 23 14:47:24 2017 [57991][1][FATAL] ERROR: rmdir_recursive(): argument cache/themes/SuitePImproved/modules is not a file or a dir.
Sun Apr 23 14:47:24 2017 [57991][1][FATAL] ERROR: rmdir_recursive(): argument cache/themes/SuiteR/modules is not a file or a dir.
Sun Apr 23 14:47:24 2017 [57991][1][FATAL] ERROR: rmdir_recursive(): argument cache/themes/SuiteP/modules is not a file or a dir.
Sun Apr 23 14:47:24 2017 [57991][1][FATAL] ERROR: rmdir_recursive(): argument cache/themes/Suite7/modules is not a file or a dir.
Sun Apr 23 14:54:13 2017 [88460][1][FATAL] Failed to load original or custom subpanel data for eapm in modules//metadata/subpanels/.php
Sun Apr 23 15:04:58 2017 [4198][1][FATAL] ERROR: rmdir_recursive(): argument cache/themes/SuitePImproved/modules is not a file or a dir.
Sun Apr 23 15:04:58 2017 [4198][1][FATAL] ERROR: rmdir_recursive(): argument cache/themes/SuiteR/modules is not a file or a dir.
Sun Apr 23 15:04:58 2017 [4198][1][FATAL] ERROR: rmdir_recursive(): argument cache/themes/Suite7/modules is not a file or a dir.

SuiteCRM runs with theme SuiteP. Permissions are set on read write delete for all roles (according to MAC info window).

sugarcrm.log is nearly empty, last entry in February

Perhaps the entry in php_error.log brings information?
[23-Apr-2017 15:12:43 Europe/Berlin] PHP Notice: Undefined index: record_type_display in /Applications/MAMP/htdocs/SuiteCRM-7.8.1/modules/Meetings/Meeting.php on line 500
[23-Apr-2017 15:12:43 Europe/Berlin] PHP Notice: Undefined index: record_type_display in /Applications/MAMP/htdocs/SuiteCRM-7.8.1/modules/Calls/Call.php on line 446
[23-Apr-2017 15:12:43 Europe/Berlin] PHP Notice: Undefined index: record_type_display in /Applications/MAMP/htdocs/SuiteCRM-7.8.1/modules/Calls/Call.php on line 446
[23-Apr-2017 15:12:43 Europe/Berlin] PHP Notice: Undefined index: record_type_display in /Applications/MAMP/htdocs/SuiteCRM-7.8.1/modules/Calls/Call.php on line 446
[23-Apr-2017 15:12:43 Europe/Berlin] PHP Notice: Undefined index: record_type_display in /Applications/MAMP/htdocs/SuiteCRM-7.8.1/modules/Calls/Call.php on line 446
[23-Apr-2017 15:12:43 Europe/Berlin] PHP Notice: Undefined index: record_type_display in /Applications/MAMP/htdocs/SuiteCRM-7.8.1/modules/Calls/Call.php on line 446
[23-Apr-2017 15:12:43 Europe/Berlin] PHP Notice: Undefined index: record_type_display in /Applications/MAMP/htdocs/SuiteCRM-7.8.1/modules/Calls/Call.php on line 446
[23-Apr-2017 15:12:43 Europe/Berlin] PHP Notice: Undefined index: record_type_display in /Applications/MAMP/htdocs/SuiteCRM-7.8.1/modules/Calls/Call.php on line 446
[23-Apr-2017 15:12:43 Europe/Berlin] PHP Notice: Undefined index: record_type_display in /Applications/MAMP/htdocs/SuiteCRM-7.8.1/modules/Calls/Call.php on line 446
[23-Apr-2017 15:12:43 Europe/Berlin] PHP Notice: Undefined index: record_type_display in /Applications/MAMP/htdocs/SuiteCRM-7.8.1/modules/Calls/Call.php on line 446
[23-Apr-2017 15:12:43 Europe/Berlin] PHP Notice: Undefined index: record_type_display in /Applications/MAMP/htdocs/SuiteCRM-7.8.1/modules/Calls/Call.php on line 446
[23-Apr-2017 15:12:43 Europe/Berlin] PHP Notice: Undefined index: record_type_display in /Applications/MAMP/htdocs/SuiteCRM-7.8.1/modules/Calls/Call.php on line 446

Steffen.

I repeat:

  1. have you set permissions correctly?
    Please repond to this question

  2. How (have you set permissions)
    Please provide details on what you did to set permissions

Additionally:
3. Please check that your commands to set permissions have had the desired effect on files and folders

Obviously it is also important to know OS, version and all relevant informaion

Thank you, amariussi for being so patient.

  1. permissions:
    I hope I understand permission correctly as the access permissions for apache and php?

I set this permission of folder SuiteCRM-7.8.1 as follows:
chmod -R 0777 SuiteCRM-7.8.1
sudo chmod -R 777 cache custom modules themes data upload config_override.php

(Because SuiteCRM is running in a MAMP environment on my MAC, the application is found in folder /Applications/MAMP/htdocs/SuiteCRM-7.8.1 )

result is:
Steffen-MacBook13:htdocs arne-steffendehler$ chmod -R 0777 SuiteCRM-7.8.1
Steffen-MacBook13:htdocs arne-steffendehler$ stat
603674368 3597 crw–w---- 1 arne-steffendehler tty 268435456 0 “Apr 23 19:47:21 2017” “Apr 23 19:47:21 2017” “Apr 23 19:47:21 2017” “Jan 1 01:00:00 1970” 131072 0 0 (stdin)

After this, I restarted Apache server and SuiteCRM but nothing changed.

I’m running SuiteCRM on a MAC with OSX 10.12.4 (Sierra). PHP is 7.0.15, Apache 2.2.31

I am not familiar wih Mac OS and its permissions.
I assume it should be similar to Unix.

777 is not the recommended permissions.

from what you pasted I understand that you have crw–w---- This is equivalent to something like 620 (which is not a valid figure). You need to have 755 and 775 depending on which files and folders.

In the meantime I got help from a German user. He told me that the problem is github listed.

A temporary solution is described in github.com/salesagility/SuiteCRM/pull/29...d1fa47dd4746bdb34daf
The error should be fixed in next version: https://github.com/salesagility/SuiteCRM/pull/2983

Many thanks for your patience!
Steffen / Carpe.