Opened 9 years ago

Closed 9 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: master
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


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 9 years ago.
array-like access to string changed to .charAt()

Download all attachments as: .zip

Change History (3)

Changed 9 years ago by Jiri Suchan

Attachment: strftime.patch added

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

comment:1 Changed 9 years ago by Alex Gaynor

Triage Stage: UnreviewedAccepted

comment:2 Changed 9 years ago by Jannis Leidel

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