Skip to content

Commit

Permalink
Fixing nyanoToLocale pipe capitalization
Browse files Browse the repository at this point in the history
  • Loading branch information
qwahzi authored Nov 6, 2021
1 parent 4d8d513 commit 83b8c68
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/pipes/nyanoToLocale.pipe.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { Pipe, PipeTransform } from '@angular/core';

@Pipe({
name: 'NyanoToLocalePipe'
name: 'nyanoToLocalePipe'
})

export class NyanoToLocalePipe implements PipeTransform {
export class nyanoToLocalePipe implements PipeTransform {
transform(value: any, args?: any): any {
return Number(value).toLocaleString("en-US", {maximumFractionDigits: 0});
}
Expand Down

0 comments on commit 83b8c68

Please sign in to comment.