-
Improvement
-
Resolution: Fixed
-
Minor
-
3.0.9-RC2
-
None
-
None
We often use
$now = getdate(time() + $user->timezone + $user->dst - date('Z'));
|
which relies on a trick that getdate() and date('Z') balances to UTC.
This is nowhere documented and similar statements are used multiple times. So a wrapper should be created with appropriate comments.