MyBB Community Forums

Full Version: how to change date and date display?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

my board's clock is not correct. Time zone is GMT+1 and DST enabled. In Admin CP, the clock is displayed as 2:48 pm instead of 3:48 pm. On the board itself, it is shown as 1:48 pm. Server is ntpd synchronized.

And how can I change the date and time display? Language is German, so it should be 11.05.2010 15:48 and not 05-11-2010, 03:48 PM.

Olaf
3:48PM is just the same as 15:48, just written differently.

If the board's clock is not set correctly, it could be due to a bad configuration of the Unix timestamp. Unfortunately, I'm not that proficient in MyBB to assist with this issue.
Timestamp is ok, the SMTP server on that machine inserts the correct email headers:

Return-Path: <[email protected]>
X-Original-To: [email protected]
Delivered-To: [email protected]
Received: from binky.tuxfriends.net (binky [127.0.0.1])
by binky.tuxfriends.net (Postfix) with ESMTP id 09696325F16A
for <[email protected]>; Tue, 11 May 2010 16:02:59 +0200 (CEST)
Received: from tango.mybboard.net (67.228.199.195-static.reverse.softlayer.com [67.228.199.195])
by binky.tuxfriends.net (Postfix) with ESMTP id C3F8D325F132
for <[email protected]>; Tue, 11 May 2010 16:02:55 +0200 (CEST)


And the WBB on that host displays the time correctly.

Olaf
ACP --> Configuration --> Settings --> Date and Time Formats. There you can change the format and the default timezone.
If it doesn't appear changed after that then the option will be in your UserCP --> Options
Thanks! Now I have to find out why the DST settings has no effect. It makes no difference when I enable or disable it, the time is always 2 hours back.
I just found that time zone setting is ignored! No matter what timezone I set, the clock is always 2 hours back.
Have you also set your personal time zone in your UCP?
Yes, that was the problem. D'oh!

Thank you Tim!