Make WordPress Core

Opened 17 years ago

Closed 17 years ago

Last modified 17 years ago

#279 closed defect (bug) (fixed)

quicktags.js inserts wrong date into "ins", "del" and probably other elements

Reported by: rq Owned by: matt
Milestone: Priority: normal
Severity: minor Version:
Component: Administration Keywords:
Focuses: Cc:


The date, counted in quicktags.js, and used in < del>, < ins> and, probably, some other tags, is wrong by one month. That's because the month number returned by "Date()" starts with zero, not with one in javascript. WP assumes it starts with one.

Attachments (1)

0000279-quicktags.diff.gz (260 bytes) - added by rq 16 years ago.

Download all attachments as: .zip

Change History (5)

#2 @Michel Valdrighi
17 years ago

Fixed in CVS a minute ago. Thanks for the heads up.
(I'm using a temporary account that can't properly close this bug. Stupid Mantis doesn't have a lost password facility.)

#3 @matt
17 years ago

  • Owner changed from anonymous to matt
  • Resolution changed from 10 to 20
  • Status changed from new to closed

Resolving and closing per Michel's fix.

Note: See TracTickets for help on using tickets.