Make WordPress Core

Opened 21 years ago

Closed 21 years ago

#1200 closed defect (bug) (fixed)

date_i18n tries unicode unsafe substr

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

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 21 years ago.
date_i18n.patch (1.1 KB ) - added by nbachiyski 21 years ago.

Download all attachments as: .zip

Change History (4)

#1 @nbachiyski
21 years ago

  • PatchNo

#2 @nbachiyski
21 years ago

Disregard the first patch...

#3 @ryan
21 years ago

  • fixed_in_version1.5.1
  • Owner changed from anonymous to rboren
  • Resolution 1020
  • Status newclosed
Note: See TracTickets for help on using tickets.