Skip to:
Content

bbPress.org

Opened 15 years ago

Closed 15 years ago

Last modified 15 years ago

#1000 closed defect (bug) (fixed)

incorrect use of strtotime in profile.php

Reported by: _ck_'s profile _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)

#1 @sambauers
15 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [1824]) Use bb_gmtstrtotime() to report user registration time. Props _ck_. Fixes #1000

#2 @(none)
15 years ago

  • Milestone 1.0-beta deleted

Milestone 1.0-beta deleted

#3 @sambauers
15 years ago

  • Milestone set to 1.0
Note: See TracTickets for help on using tickets.