Opened 11 years ago

Closed 11 years ago

#6520 closed defect (invalid)

passing option fullYear to date.locale.format makes no effect

Reported by: guest Owned by: Adam Peller
Priority: high Milestone:
Component: Date Version: 1.1.0
Keywords: Cc:
Blocked By: Blocking:

Description

These two produce identical output, while I'd expect first line to output date formatted with the two digit year.

dojo.date.locale.format(new Date(), {fullYear:false}); dojo.date.locale.format(new Date(), {fullYear:true});

Change History (2)

comment:1 Changed 11 years ago by guest

Okay, I misread the documentation: (format only) use 4 digit years whenever 2 digit years are called for Please mark this bug invalid.

comment:2 Changed 11 years ago by bill

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.