Jump to content

Upcctns squirrel mail date issue

From TetraWiki
Revision as of 10:53, 5 April 2014 by Rakesh (talk | contribs) (Created page with " '''Scenario:''' In Squirrel Mail, it was only displaying date but not the time. '''What was required:''' Client wanted to display both date and time in his Squirrel Mail. ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Scenario: In Squirrel Mail, it was only displaying date but not the time.


What was required: Client wanted to display both date and time in his Squirrel Mail.


We made some modification in "/usr/share/squirrelmail/functions/date.php" file, we changed the value for "date_format" entry in "getDateString" function.

From


$date_format = _("M j, Y");

To


$date_format = _("D, M j, Y g:i a");

Then reload the "httpd" Daemon

/etc/init.d/httpd reload