Search The ForumSearch   RegisterRegister  LoginLogin

AfterLogic WebMail Pro

 AfterLogic Forum : AfterLogic WebMail Pro
Subject Topic: MailBee lite displayed date format Post ReplyPost New Topic
Author
Message << Prev Topic | Next Topic >>
Gar2293
Newbie
Newbie


Joined: 22 August 2008
Location: United Kingdom
Online Status: Offline
Posts: 2
Posted: 22 August 2008 at 6:05am | IP Logged Quote Gar2293

Hi All

We have a question on MailBee Lite.

Our installation is working great, but the date is displayed in US format, MM/DD/YY.
We would like the date in UK format DD/MM/YY.

We have looked within the mailadm section for a setting to change.

Also looked within the ' setting.xml ' , there is a option called ' DefaultTimeZone ' currently set to 26, though I think this is a time offset value.

Any ideas ?

Thanks in Advance
Gary
Back to Top View Gar2293's Profile Search for other posts by Gar2293
 
Igor
AfterLogic Support
AfterLogic Support


Joined: 24 June 2008
Location: United States
Online Status: Offline
Posts: 6104
Posted: 22 August 2008 at 6:33am | IP Logged Quote Igor

There is no date format setting in WebMail Lite. However, you may modify the source code to implement the date style you need. Edit the common/class_datetime.php file, line approx.103:
Code:
case DATEFORMAT_DEFAULT:
                           return  gmdate('m/d/y H:i', $localTimeStamp);

Replace it with:
Code:
case DATEFORMAT_DEFAULT:
                           return  gmdate('d/m/y H:i', $localTimeStamp);


This should do the trick.

With regard to DefaultTimeZone setting, it's not the time offset value but the selected index in timezones list of WebMail Lite. This setting can be modified in "WebMail Settings" screen of WebMail Admin Console. If you open the source code of this page displayed in your web browser, you would see the following:
Code:

                      <option  value="24"> (GMT -01:00) Azores</option>
                      <option  value="25"> (GMT) Casablanca, Monrovia</option>
                      <option  value="26"> (GMT) Dublin, Edinburgh, Lisbon, London</option>
                      <option  value="27"> (GMT +01:00) Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna</option>


Regards,
Igor
Back to Top View Igor's Profile Search for other posts by Igor
 
Gar2293
Newbie
Newbie


Joined: 22 August 2008
Location: United Kingdom
Online Status: Offline
Posts: 2
Posted: 22 August 2008 at 4:38pm | IP Logged Quote Gar2293

Hi Igor

Wow - that's great support, it worked a treat.

Many thanks

Regards
Gary
Back to Top View Gar2293's Profile Search for other posts by Gar2293
 

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