Opened 16 years ago
Closed 14 years ago
#845 closed defect (bug) (fixed)
bp_format_time outputs non-l10n date
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | 1.5 | Priority: | minor |
Severity: | Version: | ||
Component: | Core | 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
@
16 years ago
- Summary changed from bp_format_time outpus non-l10n date to bp_format_time outputs non-l10n date
#4
in reply to:
↑ 3
@
16 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
@
15 years ago
- Resolution fixed deleted
- Status changed from closed to reopened
Previous commit fixed #854 not this bug.
#11
@
14 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.
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.