Make WordPress Core

Opened 19 years ago

Closed 19 years ago

#1200 closed defect (bug) (fixed)

date_i18n tries unicode unsafe substr

Reported by: nbachiyski's profile nbachiyski Owned by: ryan's profile ryan
Milestone: Priority: normal
Severity: minor Version: 1.5.1
Component: Template Keywords:
Focuses: Cc:

Description

Instead of using localized abbreiations (like mysql2date) date_i18n tries to get substring from week day and month day. When the month (weekday) name is not ascii the substr function returns just the first n bytes, not characters.

Attachments (2)

date_i18n.2.patch (1.4 KB) - added by nbachiyski 19 years ago.
date_i18n.patch (1.1 KB) - added by nbachiyski 19 years ago.

Download all attachments as: .zip

Change History (4)

#1 @nbachiyski
19 years ago

  • Patch set to No

#2 @nbachiyski
19 years ago

Disregard the first patch...

#3 @ryan
19 years ago

  • fixed_in_version set to 1.5.1
  • Owner changed from anonymous to rboren
  • Resolution changed from 10 to 20
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.