Author |
|
Gar2293 Newbie
Joined: 22 August 2008 Location: United Kingdom
Online Status: Offline Posts: 2
|
Posted: 22 August 2008 at 6:05am | IP Logged
|
|
|
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 |
|
|
Igor AfterLogic Support
Joined: 24 June 2008 Location: United States
Online Status: Offline Posts: 6104
|
Posted: 22 August 2008 at 6:33am | IP Logged
|
|
|
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 |
|
|
Gar2293 Newbie
Joined: 22 August 2008 Location: United Kingdom
Online Status: Offline Posts: 2
|
Posted: 22 August 2008 at 4:38pm | IP Logged
|
|
|
Hi Igor
Wow - that's great support, it worked a treat.
Many thanks
Regards
Gary
|
Back to Top |
|
|