Skip to:
Content

BuddyPress.org

Opened 13 years ago

Closed 13 years ago

Last modified 12 years ago

#246 closed defect (bug) (fixed)

xprofile datebox months titles - need QUICK fix

Reported by: Jehy Owned by:
Milestone: Priority: major
Severity: Version:
Component: Keywords: translation, profiles, dates
Cc:

Description

bp-xprofile-classes, line 527

$months = array('January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December');
$html .= '<select name="field_' . $this->id . '_month" id="field_' . $this->id . '_month">';

What kind of Chinese code it is?!
Please use numbers (1-12) for months, and only add localized titles on output.
Otherwise, people will have quite serious problems with months.

Change History (5)

#1 @apeatling
13 years ago

Too late for beta one, but this will be fixed in trunk and for the next release.

#2 @Jehy
13 years ago

Oh, yeah, seems like I overreacted.
At real you should only correct

<option value="english_month">THIS VALUE</option>

To get it all working (use two months arrays instead of one).
Sorry for being rude - &gt; 12 hours of work, and lack of sleep.

#3 @apeatling
13 years ago

  • Priority changed from critical to major

#4 @apeatling
13 years ago

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

Added translation support to the months.

#5 @(none)
12 years ago

  • Milestone Extended Profiles 1.0 deleted

Milestone Extended Profiles 1.0 deleted

Note: See TracTickets for help on using tickets.