Opened 6 years ago

Closed 6 years ago

#12748 closed (fixed)

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

Reported by: yedpodtrzitko 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: UI/UX:


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

Download all attachments as: .zip

Change History (3)

Changed 6 years ago by yedpodtrzitko

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

comment:1 Changed 6 years ago by Alex

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset
  • Triage Stage changed from Unreviewed to Accepted

comment:2 Changed 6 years ago by jezdez

  • Resolution set to fixed
  • Status changed from new to closed

(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