mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-24 03:19:06 +00:00
Removing incorrect day of week from display.
This commit is contained in:
parent
a6f3055f4e
commit
9722b9a140
@ -1107,7 +1107,7 @@ function addException( dateToAdd )
|
||||
if( isAlreadyException( dateToAdd ) )
|
||||
return;
|
||||
|
||||
var DateLabel = getDayOfWeek( dateToAdd ) + " " + formatDate( dateToAdd );
|
||||
var DateLabel = formatDate( dateToAdd );
|
||||
|
||||
//add a row to the listbox
|
||||
document.getElementById( "exception-dates-listbox" ).appendItem( DateLabel, dateToAdd.getTime() );
|
||||
|
@ -1107,7 +1107,7 @@ function addException( dateToAdd )
|
||||
if( isAlreadyException( dateToAdd ) )
|
||||
return;
|
||||
|
||||
var DateLabel = getDayOfWeek( dateToAdd ) + " " + formatDate( dateToAdd );
|
||||
var DateLabel = formatDate( dateToAdd );
|
||||
|
||||
//add a row to the listbox
|
||||
document.getElementById( "exception-dates-listbox" ).appendItem( DateLabel, dateToAdd.getTime() );
|
||||
|
Loading…
x
Reference in New Issue
Block a user