Opened 15 years ago

Closed 15 years ago

#12748 closed (fixed)

strftime array-access to format string doesn't work in IE7

Reported by: Jiri Suchan Owned by: nobody
Component: contrib.admin Version: dev
Severity: Keywords: javascript, date, calendar
Cc: Triage Stage: Accepted
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

In core.js there's Date.prototype.strftime function which accept formatting string as parameter. This string is in handled as array, but it doesn't work in IE7. See patch.

Attachments (1)

strftime.patch (587 bytes ) - added by Jiri Suchan 15 years ago.
array-like access to string changed to .charAt()

Download all attachments as: .zip

Change History (3)

by Jiri Suchan, 15 years ago

Attachment: strftime.patch added

array-like access to string changed to .charAt()

comment:1 by Alex Gaynor, 15 years ago

Triage Stage: UnreviewedAccepted

comment:2 by Jannis Leidel, 15 years ago

Resolution: fixed
Status: newclosed

(In [12397]) Fixed #12748 - Use charAt instead of array-like access to format string to please IE. Thanks, yedpodtrzitko.

Note: See TracTickets for help on using tickets.
Back to Top