#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)
#2
@
16 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 - > 12 hours of work, and lack of sleep.
Note: See
TracTickets for help on using
tickets.
Too late for beta one, but this will be fixed in trunk and for the next release.