Opened 4 years ago

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

Download all attachments as: .zip

Change History (3)

Changed 4 years ago by yedpodtrzitko

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

comment:1 Changed 4 years ago by Alex

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

comment:2 Changed 4 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.

Add Comment

Modify Ticket

Change Properties
<Author field>
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.