Opened 4 years ago
Closed 3 years ago
#845 closed defect (bug) (fixed)
bp_format_time outputs non-l10n date
| Reported by: |
|
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)
- Summary changed from bp_format_time outpus non-l10n date to bp_format_time outputs non-l10n date
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!
- Resolution set to fixed
- Status changed from new to closed
- Resolution fixed deleted
- Status changed from closed to reopened
Previous commit fixed #854 not this bug.
comment:10
apeatling — 4 years ago
- Resolution set to fixed
- Status changed from reopened to closed
comment:11
DJPaul — 3 years ago
- Component set to Core
- Milestone changed from 1.1 to 1.3
- Priority changed from major to minor
- Resolution fixed deleted
- Status changed from closed to reopened
Apparently this one has popped up again according to reports on the support site.
comment:12
DJPaul — 3 years ago
comment:13
djpaul — 3 years ago
- Resolution set to fixed
- Status changed from reopened to closed
Note: See
TracTickets for help on using
tickets.

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.