File tree Expand file tree Collapse file tree 1 file changed +0
-2
lines changed
projects/ccd-case-ui-toolkit/src/lib/shared/components/palette/utils Expand file tree Collapse file tree 1 file changed +0
-2
lines changed Original file line number Diff line number Diff line change @@ -61,7 +61,6 @@ export class DatePipe implements PipeTransform {
6161 if ( this . formatTrans && format && format !== 'short' ) {
6262 // support for java style formatting strings for dates
6363 format = this . translateDateFormat ( format ) ;
64- // resultDate = moment(offsetDate).format(format);
6564 resultDate = momentDate . format ( format ) ;
6665 } else {
6766 // RDM-1149 changed the pipe logic so that it doesn't add an hour to 'Summer Time' dates on DateTime field type
@@ -89,7 +88,6 @@ export class DatePipe implements PipeTransform {
8988 return this . transform ( shortISO , zone , format ) ;
9089 }
9190 // If it did include time, we want a full ISO string.
92- // const thisMoment = moment(d).format(ISO_FORMAT);
9391 const thisMoment = moment ( d ) . format ( ISO_FORMAT_NO_TZ ) ;
9492 return this . transform ( thisMoment , zone , format ) ;
9593 }
You can’t perform that action at this time.
0 commit comments