ERROR Error: InvalidPipeArgument: 'Unable to convert "Invalid Date" into a date' for pipe 'DatePipe'

 This error is date formatting issue you you adding in +'z' for localization the mozilla  firebox are not supported 

first if you to change the format using transform

 var dfsdf = this.datePipe.transform(
        currentdate,
        "yyyy-MM-dd'T'HH:mm:ss'Z'"
      );

then you can do the mozilla are working properly
ERROR Error: InvalidPipeArgument: 'Unable to convert "Invalid Date" into a date' for pipe 'DatePipe' ERROR Error: InvalidPipeArgument: 'Unable to convert "Invalid Date" into a date' for pipe 'DatePipe' Reviewed by Bugs Solutions on December 14, 2020 Rating: 5

1 comment