Horde webmail cannot change 12-hour time format.

Created:

2016-11-16 13:16:52 UTC

Modified:

2017-08-16 16:04:02 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Horde webmail cannot change 12-hour time format.

Applicable to:

  • Plesk 12.5 for Windows

Symptoms

12-hour time formats are not listed in the drop-down list under Horde webmail > Preferences -> Global Preferences -> Locale and Time -> "Choose how to display times"

clock format is not available

Cause

Internal issue #PPPM-4231 . It is fixed in Plesk Onyx.

Resolution

Upgrade to the latest Plesk version .

If upgrade is not possible:

Put the following text into %plesk_dir%\\Webmail\\horde\\horde\\config\\prefs.local.php

    <?php
$_prefs['time_format'] = array(
'value' => '%X',
'type' => 'enum',
'enum' => array(
'%X' => strftime('%X') . ' (' . _("Default") . ')',
'%H:%M:%S' => strftime('%H:%M:%S') . ' (' . _("24-hour format") . ')',
'%I:%M:%S %p' => strftime('%I:%M:%S %p'),
'%R' => strftime('%R') . ' (' . _("24-hour format") . ')',
'%I:%M %p' => strftime('%I:%M %p'),
),
'desc' => _("Choose how to display times:")
);
Have more questions? Submit a request
Please sign in to leave a comment.