2020-05-13, 11:41 AM
Hi guys,
I am getting wrong time in subscribedmember email notification.
MyBB Version 1.8.21
PHP Version 5.6.40-1~dotdeb+7.1
SQL Engine MySQLi 5.5.60
Server:
/etc/timezone > Europe/Bratislava
$date: Wed May 13 11:40:01 CEST 2020
ACP > Default Timezone Offset > GMT +1
ACP > Day Light Savings Time > Yes
User1
Username: apache-user
CP > TimeZone > GMT -1
CP > Daylight Saving Time correction > Always
Local time: 09:40:01
User2
Username: gasper
CP > TimeZone > GMT +1
CP > Daylight Saving Time correction > Always
Local time: 11:40:01
Post view as apache-user:
Email received by user gasper:
Red labelled time should be "(Today, 11:42)". Because then user gasper wrote the post in his local time. This time (09:42) is in apache-user's timezone, which is wrong, because recipient is gasper.
Do you know what's wrong?
I am getting wrong time in subscribedmember email notification.
MyBB Version 1.8.21
PHP Version 5.6.40-1~dotdeb+7.1
SQL Engine MySQLi 5.5.60
Server:
/etc/timezone > Europe/Bratislava
$date: Wed May 13 11:40:01 CEST 2020
ACP > Default Timezone Offset > GMT +1
ACP > Day Light Savings Time > Yes
User1
Username: apache-user
CP > TimeZone > GMT -1
CP > Daylight Saving Time correction > Always
Local time: 09:40:01
User2
Username: gasper
CP > TimeZone > GMT +1
CP > Daylight Saving Time correction > Always
Local time: 11:40:01
Post view as apache-user:
Email received by user gasper:
Red labelled time should be "(Today, 11:42)". Because then user gasper wrote the post in his local time. This time (09:42) is in apache-user's timezone, which is wrong, because recipient is gasper.
Do you know what's wrong?