Make WordPress Core

Opened 20 years ago

Closed 20 years ago

Last modified 19 years ago

#279 closed defect (bug) (fixed)

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

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

Description

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 19 years ago.

Download all attachments as: .zip

Change History (5)

#2 @Michel Valdrighi
20 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
20 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.