#1000 closed defect (bug) (fixed)
incorrect use of strtotime in profile.php
Reported by: | _ck_ | Owned by: | |
---|---|---|---|
Milestone: | 1.0 | Priority: | normal |
Severity: | normal | Version: | 1.0-alpha-2 |
Component: | General - Administration | Keywords: | |
Cc: |
Description
I believe $reg_time is calculated incorrectly using the local system time offset instead of GMT like in the db in profile.php
$reg_time = strtotime( $user->user_registered );
should be just like in function bb_profile_data( $id = 0 ) {
$reg_time = bb_gmtstrtotime( $user->user_registered );
Change History (3)
Note: See
TracTickets for help on using
tickets.
(In [1824]) Use bb_gmtstrtotime() to report user registration time. Props _ck_. Fixes #1000