Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Lite 7

 AfterLogic Forum : AfterLogic WebMail Lite 7
Subject Topic: Change display date format to MM/DD/YYYY Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
bbsemail
Newbie
Newbie
Avatar

Joined: 24 August 2010
Location: United States
Online Status: Offline
Posts: 3
Posted: 29 April 2014 at 12:03pm | IP Logged Quote bbsemail

Is there a way "built in" to change the display date format in the email list from Month Day to MM/DD/YYYY? Or, do I need to hack? Clues on file(s) that need modified would be helpful if I need to hack and then contrib back. Thanks
Back to Top View bbsemail's Profile Search for other posts by bbsemail
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 30 April 2014 at 5:13am | IP Logged Quote Igor

That's not configurable but can be changed in the code directly. You'll need to check static/js/app.js file, it contains the following function you'd want to modify:

Code:
CDateModel.prototype.getShortDate = function (bTime)


Note that app.js file isn't used by default - its minified version app.min.js is used. To change that, add the following item to the array defined in data/settings/config.php file:

Code:
'labs.use-app-min-js' => false,


--
Regards,
Igor, AfterLogic Support
Back to Top View Igor's Profile Search for other posts by Igor
 

If you wish to post a reply to this topic you must first login
If you are not already registered you must first register

  Post ReplyPost New Topic
Printable version Printable version

Forum Jump

Powered by Web Wiz Forums version 7.9
Copyright ©2001-2004 Web Wiz Guide