Opened 17 years ago
Closed 16 years ago
#845 closed defect (bug) (fixed)
bp_format_time outputs non-l10n date
| Reported by: | remi | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | 1.5 |
| Component: | Core | Version: | |
| Severity: | Keywords: | date i18n l10n has-patch | |
| Cc: |
Description
The bp_format_time function uses PHP's date function which doesn't care about WordPress WP_LANG constant.
Here's attached is a patch that replace its usage of date with WP's date_i18n function.
Attachments (2)
Change History (15)
#1
@
17 years ago
- Summary bp_format_time outpus non-l10n date → bp_format_time outputs non-l10n date
#4
in reply to: ↑ 3
@
17 years ago
Replying to apeatling:
Thanks will look into adding this soon. Could you check for other uses of date() in BuddyPress? I'm sure there are more than just this one.
Found 24 other occurrences — will submit a new ticket/patch soon!
#9
@
17 years ago
- Resolution fixed
- Status closed → reopened
Previous commit fixed #854 not this bug.
#11
@
16 years ago
- Component → Core
- Milestone 1.1 → 1.3
- Priority major → minor
- Resolution fixed
- Status closed → reopened
Apparently this one has popped up again according to reports on the support site.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Thanks will look into adding this soon. Could you check for other uses of date() in BuddyPress? I'm sure there are more than just this one.